X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=android%2Fxscreensaver%2Fbuild.gradle;h=f0ff9a3e7b5a0624cc19985a797692089e961bc4;hp=6d1151ff1016792efdd3ea96d84aa81e287e9a13;hb=refs%2Fheads%2Fmaster;hpb=78add6e627ee5f10e1fa6f3852602ea5066eee5a diff --git a/android/xscreensaver/build.gradle b/android/xscreensaver/build.gradle index 6d1151ff..f0ff9a3e 100644 --- a/android/xscreensaver/build.gradle +++ b/android/xscreensaver/build.gradle @@ -2,11 +2,12 @@ apply plugin: 'android' dependencies { compile fileTree(include: '*.jar', dir: 'libs') + compile "com.android.support:support-v4:27.1.1" } android { - compileSdkVersion 21 - buildToolsVersion "21.1.2" + compileSdkVersion 27 + buildToolsVersion "27.0.3" compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 @@ -26,7 +27,7 @@ android { } // Move the tests to tests/java, tests/res, etc... - instrumentTest.setRoot('tests') + androidTest.setRoot('tests') // Move the build types to build-types/ // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... @@ -96,7 +97,7 @@ android { defaultConfig { minSdkVersion 15 - targetSdkVersion 21 + targetSdkVersion 27 } productFlavors { }