apply plugin: 'com.android.application' apply plugin: 'android-apt' android { compileSdkVersion 23 buildToolsVersion '23.0.3' defaultConfig { applicationId "com.wolkabout.hexiwear" minSdkVersion 19 targetSdkVersion 22 versionCode 23 versionName "1.23" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/ASL2.0' exclude 'LICENSE.txt' exclude 'META-INF/services/org.androidannotations.plugin.AndroidAnnotationsPlugin' exclude 'asm-license.txt' } } def SupportVersion = '23.4.0' def AAVersion = '4.0.0' def ParcelerVersion = '1.0.4' dependencies { // Android support libraries compile "com.android.support:appcompat-v7:$SupportVersion" compile "com.android.support:design:$SupportVersion" compile "com.android.support:cardview-v7:$SupportVersion" // Android annotations compile "org.androidannotations:androidannotations:$AAVersion" compile "org.androidannotations:rest-spring-api:$AAVersion" compile "org.androidannotations:rest-spring:$AAVersion" // Parceler compile "org.parceler:parceler-api:$ParcelerVersion" apt "org.parceler:parceler:$ParcelerVersion" compile 'com.wolkabout:restandroid:1.0.6' compile 'com.wolkabout:wolk:1.0' compile 'org.springframework.android:spring-android-rest-template:2.0.0.M3' compile 'com.fasterxml.jackson.core:jackson-databind:2.7.5' } apt { arguments { androidManifestFile variant.outputs[0].processResources.manifestFile } }