apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "info.nightscout.androidaps" minSdkVersion 20 targetSdkVersion 25 versionCode 1 versionName "1.0.2" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } publishNonDefault true productFlavors { full { applicationId = "info.nightscout.androidaps" resValue "string", "label_xdrip", "AAPS" resValue "string", "label_xdrip_large", "AAPS(Large)" resValue "string", "label_xdrip_big_chart", "AAPS(BigChart)" resValue "string", "label_xdrip_circle", "AAPS(Circle)" resValue "string", "label_xdrip_activity", "AAPS Prefs." resValue "string", "app_settings", "AAPS Settings" buildConfigField "boolean", "WEAR_CONTROL", "true" } restricted { applicationId = "info.nightscout.androidaps" resValue "string", "label_xdrip", "AAPS" resValue "string", "label_xdrip_large", "AAPS(Large)" resValue "string", "label_xdrip_big_chart", "AAPS(BigChart)" resValue "string", "label_xdrip_circle", "AAPS(Circle)" resValue "string", "label_xdrip_activity", "AAPS Prefs." resValue "string", "app_settings", "AAPS Settings" buildConfigField "boolean", "WEAR_CONTROL", "false" } } } allprojects { repositories { jcenter() flatDir { dirs 'libs' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') //compile 'com.ustwo.android:clockwise-wearable:1.0.2' compile 'com.google.android.support:wearable:1.4.0' compile 'com.google.android.gms:play-services-wearable:7.3.0' compile files('libs/hellocharts-library-1.5.5.jar') compile(name:'ustwo-clockwise-debug', ext:'aar') compile 'com.android.support:support-v4:25.3.1' compile 'me.denley.wearpreferenceactivity:wearpreferenceactivity:0.5.0' }