build.gradle

Sat, 14 Feb 2015 00:40:28 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 14 Feb 2015 00:40:28 +0100
changeset 28
80b1a8c857bb
parent 16
c87042164cd8
child 30
842945e5b782
permissions
-rw-r--r--

Back out change e1ea0f6a5a50 to implicitly match Android runtime name.

michael@2 1 buildscript {
michael@2 2 repositories {
michael@2 3 jcenter()
michael@2 4 }
michael@2 5 dependencies {
michael@2 6 classpath 'com.android.tools.build:gradle:1.0.+'
michael@2 7 }
michael@2 8 }
michael@2 9
michael@2 10 apply plugin: 'android'
michael@2 11
michael@2 12 android {
michael@2 13 compileSdkVersion 21
michael@2 14 buildToolsVersion "21.1.2"
michael@2 15 defaultConfig {
michael@2 16 applicationId 'com.europalab.caldavsyncadapter'
michael@2 17 minSdkVersion 14
michael@2 18 targetSdkVersion 21
michael@2 19 }
michael@2 20 sourceSets {
michael@2 21 main {
michael@2 22 manifest.srcFile 'AndroidManifest.xml'
michael@2 23 java.srcDirs = ['src']
michael@2 24 resources.srcDirs = ['src']
michael@2 25 aidl.srcDirs = ['src']
michael@2 26 renderscript.srcDirs = ['src']
michael@2 27 res.srcDirs = ['res']
michael@2 28 assets.srcDirs = ['assets']
michael@2 29 }
michael@2 30 }
michael@2 31 buildTypes {
michael@2 32 release {
michael@16 33 minifyEnabled true
michael@2 34 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
michael@2 35 }
michael@2 36 }
michael@2 37 packagingOptions {
michael@2 38 exclude 'META-INF/LICENSE.txt'
michael@2 39 exclude 'META-INF/NOTICE.txt'
michael@2 40 }
michael@2 41 productFlavors {
michael@2 42 }
michael@2 43 }
michael@2 44
michael@2 45 dependencies {
michael@17 46 compile 'junit:junit:4.+'
michael@2 47 compile 'com.android.support:support-v4:19.1.0'
michael@2 48 compile 'backport-util-concurrent:backport-util-concurrent:3.1'
michael@2 49 compile 'org.apache.commons:commons-lang3:3.2'
michael@2 50 compile files('libs/commons-codec-1.10.jar')
michael@2 51 compile files('libs/commons-logging-1.2.jar')
michael@2 52 }
michael@2 53
michael@2 54 allprojects {
michael@2 55 repositories {
michael@2 56 jcenter()
michael@2 57 }
michael@2 58 }

mercurial