X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=blobdiff_plain;f=build.gradle;h=aafb2b8562856628d258ed2c6b999c80a33297ce;hp=7458e941b3acd81f7d14788cd3e6c953d48f5614;hb=c76660b2772122109529d3616289980a7084eeeb;hpb=4d45377e1124697da471e84948813cf9b9ddb3ff diff --git a/build.gradle b/build.gradle index 7458e94..aafb2b8 100644 --- a/build.gradle +++ b/build.gradle @@ -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,6 +42,12 @@ 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 29 lintOptions { @@ -76,6 +83,6 @@ android { applicationId 'de.reimardoeffinger.quickdic' targetSdkVersion 29 resConfigs "de", "es", "eu", "fr", "it", "ja", "pt", "pt-rBR", "ru", "zh-rCN" - minSdkVersion = 10 + minSdkVersion 10 } }