80 lines
2.5 KiB
Groovy
80 lines
2.5 KiB
Groovy
buildscript {
|
|
repositories {
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'io.fabric.tools:gradle:1.+'
|
|
}
|
|
}
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'io.fabric'
|
|
|
|
repositories {
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "info.nightscout.androidaps"
|
|
minSdkVersion 21
|
|
targetSdkVersion 23
|
|
versionCode 1017
|
|
versionName "1.0.17"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
productFlavors {
|
|
danarcontrol {
|
|
buildConfigField "boolean", "APS", "false"
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
|
}
|
|
careportal {
|
|
buildConfigField "boolean", "APS", "false"
|
|
buildConfigField "boolean", "PUMPDRIVERS", "false"
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
|
}
|
|
openloop {
|
|
buildConfigField "boolean", "APS", "true"
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
buildConfigField "boolean", "CLOSEDLOOP", "false"
|
|
}
|
|
full {
|
|
buildConfigField "boolean", "APS", "true"
|
|
buildConfigField "boolean", "PUMPDRIVERS", "true"
|
|
buildConfigField "boolean", "CLOSEDLOOP", "true"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
testCompile 'junit:junit:4.12'
|
|
compile('com.crashlytics.sdk.android:crashlytics:2.5.7@aar') {
|
|
transitive = true;
|
|
}
|
|
compile 'com.android.support:appcompat-v7:23.4.0'
|
|
compile 'com.android.support:support-v4:23.4.0'
|
|
compile 'com.android.support:cardview-v7:23.4.0'
|
|
compile 'com.android.support:recyclerview-v7:23.4.0'
|
|
compile 'com.android.support:gridlayout-v7:23.4.0'
|
|
compile 'com.wdullaer:materialdatetimepicker:2.3.0'
|
|
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'
|
|
compile 'com.jjoe64:graphview:4.0.1'
|
|
compile 'com.eclipsesource.j2v8:j2v8:3.1.6@aar'
|
|
compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.1.1'
|
|
}
|