apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion '22.0.1' defaultConfig { applicationId "agent.sense.android.iot.carbon.wso2.org.wso2_senseagent" minSdkVersion 19 targetSdkVersion 22 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' applicationVariants.all { variant -> variant.outputs.each { output -> def newName = output.outputFile.name newName = newName.replace("app-", "androidsense") newName = newName.replace("release", "") //noinspection GroovyAssignabilityCheck output.outputFile = new File(output.outputFile.parent, newName) } } } } packagingOptions { exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' } productFlavors { } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:22.2.1' compile 'com.android.support:design:22.2.1' compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.2' compile 'com.github.rholder:snowball-stemmer:1.3.0.581.1' compile 'commons-codec:commons-codec:1.4' compile 'com.netflix.feign:feign-jaxrs:8.16.0' compile 'com.netflix.feign:feign-jackson:8.16.0' compile 'org.altbeacon:android-beacon-library:2.8.1' }