X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=build.gradle;h=aafb2b8562856628d258ed2c6b999c80a33297ce;hb=9007f9e11eb1f784a588e0526827e768307e4f8d;hp=e51d5323bc64017616850d98bdf46d238a5002c5;hpb=e6301cf120881578a1ad0905a1432352011f7215;p=Dictionary.git diff --git a/build.gradle b/build.gradle index e51d532..aafb2b8 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.2.1' + classpath 'com.android.tools.build:gradle:3.6.2' } } @@ -27,6 +27,7 @@ dependencies { implementation files("$buildDir/icu4j-57.1.small.jar") { builtBy 'makesmallicu' } + implementation 'com.android.support:preference-v7:25.3.1' } task makesmallicu (type:Exec, dependsOn: configurations.smallicu) { @@ -41,8 +42,14 @@ task makesmallicu (type:Exec, dependsOn: configurations.smallicu) { def utildir = hasProperty("quickdicUtilDir") ? quickdicUtilDir : "Util" +allprojects { + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" + } +} + android { - compileSdkVersion 26 + compileSdkVersion 29 lintOptions { disable "MissingTranslation" } @@ -74,8 +81,8 @@ android { } defaultConfig { applicationId 'de.reimardoeffinger.quickdic' - targetSdkVersion 26 - resConfigs "de", "es", "fr", "it", "ja", "pt", "pt-rBR", "ru", "zh-rCN" - minSdkVersion = 10 + targetSdkVersion 29 + resConfigs "de", "es", "eu", "fr", "it", "ja", "pt", "pt-rBR", "ru", "zh-rCN" + minSdkVersion 10 } }