aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle12
-rw-r--r--gradle.properties3
2 files changed, 8 insertions, 7 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}/"
+ }
}
}
}
diff --git a/gradle.properties b/gradle.properties
index 41753be..a964abe 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -18,5 +18,4 @@
org.gradle.parallel=true
org.gradle.jvmargs=-Xms480m -Xmx512m -Dfile.encoding=UTF-8
org.gradle.configureondemand=false
-org.gradle.caching=true
-android.enableD8.desugaring=false \ No newline at end of file
+org.gradle.caching=true \ No newline at end of file