aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 7 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index 9659eea..cba5d4c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -87,14 +87,16 @@ subprojects {
applicationId "com.anysoftkeyboard.languagepack.${languageName}"
}
- applicationVariants.all { variant ->
+ applicationVariants.configureEach { variant ->
variant.outputs.all {
outputFileName = "ASKLangPack-${languageName}-${versionData.versionCode}.apk"
}
- variant.assemble.doLast { assemble ->
- copy {
- from variant.outputs*.outputFile
- into "${rootDir.absolutePath}/language-packs-apk/${variant.dirName}/"
+ variant.assembleProvider.configure { assemble ->
+ assemble.doLast {
+ copy {
+ from variant.outputs*.outputFile
+ into "${rootDir.absolutePath}/language-packs-apk/${variant.dirName}/"
+ }
}
}
}