mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-31 21:34:20 +01:00
56 lines
1.8 KiB
Groovy
56 lines
1.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion '24.0.2'
|
|
|
|
defaultConfig {
|
|
applicationId "no.nordicsemi.android.nrftoolbox"
|
|
minSdkVersion 18
|
|
targetSdkVersion 24
|
|
versionCode 51
|
|
versionName "1.18.4"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
productFlavors {
|
|
fastBuild {
|
|
// Switching the flavor to fastBuild accelerates te build speed (works only with Android 5+ devices)
|
|
minSdkVersion 21
|
|
versionName "Instant Run"
|
|
}
|
|
releaseBuild {
|
|
minSdkVersion 18
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile 'com.google.android.gms:play-services-wearable:9.2.0'
|
|
compile 'com.android.support:appcompat-v7:24.2.1'
|
|
compile 'com.android.support:design:24.2.1'
|
|
compile 'no.nordicsemi.android.support.v18:scanner:0.2.0'
|
|
compile 'no.nordicsemi.android:log:2.0.0'
|
|
compile('org.simpleframework:simple-xml:2.7.1') {
|
|
exclude group: 'stax', module: 'stax-api'
|
|
exclude group: 'xpp3', module: 'xpp3'
|
|
}
|
|
compile files('libs/achartengine-1.1.0.jar')
|
|
compile project(':common')
|
|
wearApp project(':wear')
|
|
|
|
// The DFU Library is imported automatically from jcenter.
|
|
compile 'no.nordicsemi.android:dfu:1.0.4'
|
|
// If you want to make some changes in the DFU Library, clone the https://github.com/NordicSemiconductor/Android-DFU-Library project into DFULibrary folder,
|
|
// add it as a module in Project Structure and uncomment the following line:
|
|
|
|
// compile project(':dfu')
|
|
|
|
// Also uncomment selected lines in settings.gradle
|
|
}
|