apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion '24.0.2' defaultConfig { applicationId "no.nordicsemi.android.nrftoolbox" minSdkVersion 18 targetSdkVersion 25 versionCode 54 versionName "2.1.1" } 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:25.0.0' compile 'com.android.support:design:25.0.0' 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 }