2016-06-24 17:48:11 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'io.fabric.tools:gradle:1.+'
|
|
|
|
}
|
|
|
|
}
|
2016-06-04 17:28:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2016-06-24 17:48:11 +02:00
|
|
|
apply plugin: 'io.fabric'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
|
|
}
|
|
|
|
|
2016-06-04 17:28:05 +02:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 23
|
|
|
|
buildToolsVersion "23.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "info.nightscout.androidaps"
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 23
|
2016-11-07 10:16:13 +01:00
|
|
|
versionCode 1020
|
|
|
|
versionName "1.0.20"
|
2016-06-04 17:28:05 +02:00
|
|
|
}
|
2016-10-21 22:16:20 +02:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2016-06-04 17:28:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-07-15 23:53:14 +02:00
|
|
|
productFlavors {
|
2016-10-21 00:03:52 +02:00
|
|
|
full {
|
|
|
|
buildConfigField "boolean", "APS", "true"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "true"
|
|
|
|
buildConfigField "int", "MAXBOLUS", "17"
|
|
|
|
}
|
|
|
|
fullteenage {
|
|
|
|
buildConfigField "boolean", "APS", "true"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "true"
|
|
|
|
buildConfigField "int", "MAXBOLUS", "10"
|
|
|
|
}
|
|
|
|
fullchild {
|
|
|
|
buildConfigField "boolean", "APS", "true"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "true"
|
|
|
|
buildConfigField "int", "MAXBOLUS", "5"
|
|
|
|
}
|
2016-09-05 09:11:30 +02:00
|
|
|
danarcontrol {
|
|
|
|
buildConfigField "boolean", "APS", "false"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
2016-10-21 00:03:52 +02:00
|
|
|
buildConfigField "int", "MAXBOLUS", "17"
|
2016-09-05 09:11:30 +02:00
|
|
|
}
|
2016-07-15 23:53:14 +02:00
|
|
|
careportal {
|
|
|
|
buildConfigField "boolean", "APS", "false"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "false"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
2016-10-21 00:03:52 +02:00
|
|
|
buildConfigField "int", "MAXBOLUS", "17"
|
2016-07-15 23:53:14 +02:00
|
|
|
}
|
|
|
|
openloop {
|
|
|
|
buildConfigField "boolean", "APS", "true"
|
|
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
2016-10-21 00:03:52 +02:00
|
|
|
buildConfigField "int", "MAXBOLUS", "17"
|
2016-07-15 23:53:14 +02:00
|
|
|
}
|
|
|
|
}
|
2016-06-04 17:28:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
2016-07-02 23:58:57 +02:00
|
|
|
compile('com.crashlytics.sdk.android:crashlytics:2.5.7@aar') {
|
|
|
|
transitive = true;
|
|
|
|
}
|
2016-06-04 17:28:05 +02:00
|
|
|
compile 'com.android.support:appcompat-v7:23.4.0'
|
|
|
|
compile 'com.android.support:support-v4:23.4.0'
|
2016-06-05 01:40:35 +02:00
|
|
|
compile 'com.android.support:cardview-v7:23.4.0'
|
|
|
|
compile 'com.android.support:recyclerview-v7:23.4.0'
|
2016-07-02 23:58:57 +02:00
|
|
|
compile 'com.android.support:gridlayout-v7:23.4.0'
|
|
|
|
compile 'com.wdullaer:materialdatetimepicker:2.3.0'
|
2016-06-05 01:40:35 +02:00
|
|
|
compile 'com.squareup:otto:1.3.7'
|
|
|
|
compile 'com.j256.ormlite:ormlite-core:4.46'
|
|
|
|
compile 'com.j256.ormlite:ormlite-android:4.46'
|
|
|
|
compile 'com.github.tony19:logback-android-classic:1.1.1-4'
|
|
|
|
compile 'org.slf4j:slf4j-api:1.7.12'
|
2016-06-09 00:01:28 +02:00
|
|
|
compile 'com.jjoe64:graphview:4.0.1'
|
2016-06-10 18:50:46 +02:00
|
|
|
compile 'com.eclipsesource.j2v8:j2v8:3.1.6@aar'
|
2016-07-08 00:17:02 +02:00
|
|
|
compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.1.1'
|
2016-10-20 23:50:31 +02:00
|
|
|
testCompile 'junit:junit:4.12'
|
2016-06-05 01:40:35 +02:00
|
|
|
}
|