michael@2: buildscript { michael@2: repositories { michael@2: jcenter() michael@2: } michael@2: dependencies { michael@2: classpath 'com.android.tools.build:gradle:1.0.+' michael@2: } michael@2: } michael@2: michael@2: apply plugin: 'android' michael@2: michael@2: android { michael@2: compileSdkVersion 21 michael@2: buildToolsVersion "21.1.2" michael@2: defaultConfig { michael@2: applicationId 'com.europalab.caldavsyncadapter' michael@2: minSdkVersion 14 michael@2: targetSdkVersion 21 michael@2: } michael@2: sourceSets { michael@2: main { michael@2: manifest.srcFile 'AndroidManifest.xml' michael@2: java.srcDirs = ['src'] michael@2: resources.srcDirs = ['src'] michael@2: aidl.srcDirs = ['src'] michael@2: renderscript.srcDirs = ['src'] michael@2: res.srcDirs = ['res'] michael@2: assets.srcDirs = ['assets'] michael@2: } michael@2: } michael@2: buildTypes { michael@2: release { michael@16: minifyEnabled true michael@2: proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' michael@2: } michael@2: } michael@2: packagingOptions { michael@2: exclude 'META-INF/LICENSE.txt' michael@2: exclude 'META-INF/NOTICE.txt' michael@2: } michael@2: productFlavors { michael@2: } michael@2: } michael@2: michael@2: dependencies { michael@30: androidTestCompile 'junit:junit:4.+' michael@2: compile 'com.android.support:support-v4:19.1.0' michael@2: compile 'backport-util-concurrent:backport-util-concurrent:3.1' michael@2: compile 'org.apache.commons:commons-lang3:3.2' michael@2: compile files('libs/commons-codec-1.10.jar') michael@2: compile files('libs/commons-logging-1.2.jar') michael@2: } michael@2: michael@2: allprojects { michael@2: repositories { michael@2: jcenter() michael@2: } michael@2: }