AndroidAPS/wear/build.gradle

72 lines
2.3 KiB
Groovy
Raw Normal View History

2016-11-17 15:17:02 +01:00
apply plugin: 'com.android.application'
android {
2017-04-22 10:18:31 +02:00
compileSdkVersion 23
2016-12-28 15:58:44 +01:00
buildToolsVersion "25.0.2"
2016-11-17 15:17:02 +01:00
defaultConfig {
applicationId "info.nightscout.androidaps"
minSdkVersion 20
2017-04-22 10:18:31 +02:00
targetSdkVersion 23
2016-11-17 15:17:02 +01:00
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)"
2017-06-30 01:48:12 +02:00
resValue "string", "label_xdrip_no_chart", "AAPS(NoChart)"
2016-11-17 15:17:02 +01:00
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)"
2017-06-30 01:48:12 +02:00
resValue "string", "label_xdrip_no_chart", "AAPS(NoChart)"
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"
2016-11-17 15:17:02 +01:00
}
}
}
2016-11-25 21:29:46 +01:00
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}
2016-11-17 15:17:02 +01:00
dependencies {
2016-11-18 01:01:42 +01:00
compile fileTree(include: ['*.jar'], dir: 'libs')
2016-11-25 21:29:46 +01:00
//compile 'com.ustwo.android:clockwise-wearable:1.0.2'
compile 'com.google.android.support:wearable:1.4.0'
2016-11-17 15:17:02 +01:00
compile 'com.google.android.gms:play-services-wearable:7.3.0'
2016-11-18 01:01:42 +01:00
compile files('libs/hellocharts-library-1.5.5.jar')
2016-11-25 21:29:46 +01:00
compile(name:'ustwo-clockwise-debug', ext:'aar')
2017-04-22 10:18:31 +02:00
compile 'com.android.support:support-v4:23.0.1'
2016-11-28 18:40:50 +01:00
compile 'me.denley.wearpreferenceactivity:wearpreferenceactivity:0.5.0'
2017-04-22 10:18:31 +02:00
}