X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=android%2Fbuild.gradle;fp=android%2Fbuild.gradle;h=613cb90828eeabee648c2141d5abcf46302b5f05;hp=0000000000000000000000000000000000000000;hb=39809ded547bdbb08207d3e514950425215b4410;hpb=4361b69d3178d7fc98d0388f9a223af6c2651aba diff --git a/android/build.gradle b/android/build.gradle new file mode 100644 index 00000000..613cb908 --- /dev/null +++ b/android/build.gradle @@ -0,0 +1,24 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +buildscript { + repositories { + jcenter() + } + dependencies { + 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) { + delete('./build') +} + +task distClean(type: Delete) { + delete('./.gradle') +} + +distClean.dependsOn clean