]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - build.gradle
Remove unused and broken file.
[Dictionary.git] / build.gradle
index b7d76b66eb4e3aab072789d0a0f29b78578d4286..60d7a74beb0bda287665c1cbb68fd14af0947ff3 100644 (file)
@@ -16,7 +16,7 @@ configurations {
     smallicu
 }
 dependencies {
-    compile 'com.android.support:appcompat-v7:22.2.1'
+    compile 'com.android.support:appcompat-v7:23.1.1'
     // Note: you can just replace "smallicu" by compile
     // and remove the "compile files" part if you do not
     // care about the size of the apk
@@ -36,8 +36,10 @@ task makesmallicu (type:Exec, dependsOn: configurations.smallicu) {
     commandLine "./mksmallicu.sh", "${configurations.smallicu.resolve()[0]}", "$buildDir/icu4j-55.1.small.jar"
 }
 
+def utildir = hasProperty("quickdicUtilDir") ? quickdicUtilDir : "../Util"
+
 android {
-    compileSdkVersion 22
+    compileSdkVersion 23
     buildToolsVersion "23.0.1"
     buildTypes {
         debug {
@@ -51,7 +53,7 @@ android {
     sourceSets {
         main {
             manifest.srcFile 'AndroidManifest.xml'
-            java.srcDirs = ['src', '../Util/src']
+            java.srcDirs = ['src', utildir + "/src"]
             res.srcDirs = ['res']
             assets.srcDirs = ['assets']
         }