AndroidAPS/core/build.gradle

96 lines
3.2 KiB
Groovy
Raw Normal View History

2020-05-03 21:27:42 +02:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2020-05-05 23:27:01 +02:00
apply plugin: 'kotlin-kapt'
2020-05-03 21:27:42 +02:00
android {
2020-05-03 21:37:02 +02:00
compileSdkVersion 28
2020-05-03 21:27:42 +02:00
defaultConfig {
2020-05-12 00:23:39 +02:00
minSdkVersion 24
2020-05-03 21:37:02 +02:00
targetSdkVersion 28
2020-05-03 21:27:42 +02:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
2020-05-03 22:18:58 +02:00
kotlinOptions {
jvmTarget = '1.8'
}
2020-05-03 21:27:42 +02:00
buildTypes {
release {
minifyEnabled false
2020-05-03 22:18:58 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled(project.hasProperty('coverage'))
}
firebaseDisable {
System.setProperty("disableFirebase", "true")
2020-05-05 23:27:01 +02:00
ext.enableCrashlytics = false
2020-05-03 21:27:42 +02:00
}
}
2020-05-03 22:18:58 +02:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2020-05-03 21:27:42 +02:00
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
2020-10-19 21:51:13 +02:00
implementation "androidx.appcompat:appcompat:$appcompat_verison"
implementation "androidx.preference:preference-ktx:$preferencektx_version"
implementation 'androidx.biometric:biometric:1.0.1'
2020-05-05 23:27:01 +02:00
implementation "androidx.activity:activity-ktx:${activityVersion}"
api "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
2020-10-19 21:51:13 +02:00
implementation "com.google.android.material:material:$material_version"
2020-05-03 21:27:42 +02:00
implementation "com.google.dagger:dagger-android:$dagger_version"
implementation "com.google.dagger:dagger-android-support:$dagger_version"
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
annotationProcessor "com.google.dagger:dagger-android-processor:$dagger_version"
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
2020-05-04 01:36:46 +02:00
//Logger
2020-05-04 00:42:13 +02:00
implementation 'org.slf4j:slf4j-api:1.7.30'
2020-05-04 01:36:46 +02:00
//Fabric
2020-10-19 22:42:26 +02:00
implementation platform('com.google.firebase:firebase-bom:25.12.0')
implementation "com.google.firebase:firebase-analytics-ktx"
implementation "com.google.firebase:firebase-crashlytics-ktx"
implementation "com.google.firebase:firebase-messaging-ktx"
2020-05-31 10:12:36 +02:00
2020-05-04 01:36:46 +02:00
//RxBus
2020-05-31 11:27:12 +02:00
implementation "io.reactivex.rxjava2:rxandroid:${rxandroid_version}"
2020-10-19 21:51:13 +02:00
implementation "org.apache.commons:commons-lang3:$commonslang3_version"
2020-05-04 00:42:13 +02:00
//CryptoUtil
implementation 'com.madgag.spongycastle:core:1.58.0.0'
2020-05-07 09:54:36 +02:00
// Graphview cannot be upgraded
implementation "com.jjoe64:graphview:4.0.1"
//DateUtil
implementation 'net.danlew:android.joda:2.10.6'
//db
implementation "com.j256.ormlite:ormlite-core:${ormLiteVersion}"
implementation "com.j256.ormlite:ormlite-android:${ormLiteVersion}"
// pumpCommon
implementation "com.google.code.gson:gson:2.8.6"
2020-11-28 17:26:03 +01:00
// don't kill my app
api('dev.doubledot.doki:library:0.0.1@aar') {
transitive = true
}
2020-10-19 21:51:13 +02:00
testImplementation "junit:junit:$junit_version"
2020-05-03 21:27:42 +02:00
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}