X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=build.gradle;h=e51d5323bc64017616850d98bdf46d238a5002c5;hb=9e43c10146c440f63788a46ba8a87e3f1722c77e;hp=5bc49f98a2e7db6dec1f260bf84a1de98e94d2ba;hpb=18cae136ffa81c0ec3f408716b62aa610a84eb01;p=Dictionary.git diff --git a/build.gradle b/build.gradle index 5bc49f9..e51d532 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,10 @@ buildscript { repositories { jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.2.1' } } @@ -11,18 +12,19 @@ apply plugin: 'com.android.application' repositories { jcenter() + google() } configurations { smallicu } dependencies { - compile 'com.android.support:appcompat-v7:25.3.0' - compile 'com.android.support:design:25.3.0' - // Note: you can just replace "smallicu" by compile + implementation 'com.android.support:appcompat-v7:25.3.1' + implementation 'com.android.support:design:25.3.1' + // Note: you can just replace "smallicu" by implementation // and remove the "compile files" part if you do not // care about the size of the apk smallicu 'com.ibm.icu:icu4j:57.1' - compile files("$buildDir/icu4j-57.1.small.jar") { + implementation files("$buildDir/icu4j-57.1.small.jar") { builtBy 'makesmallicu' } } @@ -40,8 +42,7 @@ task makesmallicu (type:Exec, dependsOn: configurations.smallicu) { def utildir = hasProperty("quickdicUtilDir") ? quickdicUtilDir : "Util" android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 26 lintOptions { disable "MissingTranslation" } @@ -62,9 +63,6 @@ android { assets.srcDirs = ['assets'] } - // Move the tests to tests/java, tests/res, etc... - instrumentTest.setRoot('tests') - // Move the build types to build-types/ // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... // This moves them out of them default location under src//... which would @@ -76,7 +74,8 @@ android { } defaultConfig { applicationId 'de.reimardoeffinger.quickdic' - targetSdkVersion 23 - resConfigs "de", "es", "fr", "it", "ja", "pt", "pt-rBR", "ru" + targetSdkVersion 26 + resConfigs "de", "es", "fr", "it", "ja", "pt", "pt-rBR", "ru", "zh-rCN" + minSdkVersion = 10 } }