aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2019-01-19 04:05:58 +0000
committerMenny Even Danan <menny@evendanan.net>2019-01-19 04:05:58 +0000
commite7d5a7b7a4fe5fa0ee337d5e2eed22da8f4c0cd6 (patch)
tree04f81bb2296f96e53fe15a4068560049bc01bdaf
parent123ed8ceda57c85eb1a39696ebb1144562b4860a (diff)
downloadask-language-pack-e7d5a7b7a4fe5fa0ee337d5e2eed22da8f4c0cd6.tar.gz
ask-language-pack-e7d5a7b7a4fe5fa0ee337d5e2eed22da8f4c0cd6.tar.bz2
Configuration avoidance changes
-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