34 lines
897 B
Groovy
34 lines
897 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
//ext {
|
|
// PUBLISH_GROUP_ID = 'no.nordicsemi.android'
|
|
// PUBLISH_ARTIFACT_ID = 'dfu-library'
|
|
// PUBLISH_VERSION = '0.6.0'
|
|
//}
|
|
|
|
android {
|
|
compileSdkVersion 22
|
|
buildToolsVersion '22.0.1'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 18
|
|
targetSdkVersion 22
|
|
versionCode 2
|
|
versionName "0.6"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile 'com.android.support:support-v4:22.2.0'
|
|
compile 'com.google.code.gson:gson:2.3.1'
|
|
}
|
|
|
|
// Generate maven package: gradlew clean build generateRelease
|
|
//apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle' |