forked from community/device-mgt-plugins
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.1 KiB
65 lines
2.1 KiB
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"
|
|
|
|
}
|
|
repositories {
|
|
maven {
|
|
url "https://dl.bintray.com/alt236/maven"
|
|
}
|
|
}
|
|
|
|
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'
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'META-INF/NOTICE'
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
}
|
|
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'
|
|
compile 'uk.co.alt236:easycursor-android:1.0.0'
|
|
compile 'uk.co.alt236:bluetooth-le-library-android:1.0.0'
|
|
}
|