diff -r d1855d581d0a -r 7d6f2526244a build.gradle --- a/build.gradle Fri May 24 18:34:57 2013 +0200 +++ b/build.gradle Sun Mar 15 17:28:04 2015 +0100 @@ -1,14 +1,20 @@ -// Build script definition +// top level Build script definition buildscript { repositories { - maven { url 'http://repo1.maven.org/maven2' } - mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:0.4' + classpath 'com.android.tools.build:gradle:1.1.3' } } -apply plugin: 'android' + +// application build script + +apply plugin: 'com.android.application' + +repositories { + jcenter() +} dependencies { compile files('libs/android-support-v13.jar') @@ -17,12 +23,25 @@ } android { - compileSdkVersion 16 - buildToolsVersion "17.0.0" + compileSdkVersion 22 + buildToolsVersion "22" defaultConfig { minSdkVersion 6 targetSdkVersion 16 + // versionCode 1 + // versionName "1.0" + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + + lintOptions { + abortOnError false } // use the old android source structure (ant based)