From http://www.jwz.org/xscreensaver/xscreensaver-5.36.tar.gz
[xscreensaver] / android / project / build.gradle
index 41cd0d1573e42f35248d8fb620613e099de4bfc8..613cb90828eeabee648c2141d5abcf46302b5f05 100644 (file)
@@ -1,11 +1,16 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 buildscript {
     repositories {
-        mavenCentral()
+        jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:1.1.0'
+        classpath 'com.android.tools.build:gradle:2.1.0'
     }
+
+    // This allows versions of Gradle past 2.9 to be used with the Gradle
+    // Android plugin.
+    // https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434/2
+//    System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true';
 }
 
 task clean(type: Delete) {