2022-11-28 09:25:19 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
}
|
|
|
|
|
2022-12-02 10:56:11 +01:00
|
|
|
apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/main/test_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/main/jacoco_global.gradle"
|
2022-11-28 09:25:19 +01:00
|
|
|
android {
|
|
|
|
namespace 'info.nightscout.plugins.sync'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-09-21 16:44:55 +02:00
|
|
|
implementation project(':shared:impl')
|
2022-11-28 09:25:19 +01:00
|
|
|
implementation project(':database:entities')
|
|
|
|
implementation project(':database:impl')
|
2022-12-02 10:56:11 +01:00
|
|
|
implementation project(':core:main')
|
2022-11-28 09:25:19 +01:00
|
|
|
implementation project(':core:interfaces')
|
|
|
|
implementation project(':core:ns-sdk')
|
|
|
|
implementation project(':core:ui')
|
|
|
|
implementation project(':core:utils')
|
|
|
|
implementation project(':core:validators')
|
|
|
|
|
2023-01-04 15:41:04 +01:00
|
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
|
2023-01-02 14:48:31 +01:00
|
|
|
testImplementation "androidx.work:work-testing:$work_version"
|
2023-09-03 21:57:18 +02:00
|
|
|
|
2023-09-21 16:44:55 +02:00
|
|
|
testImplementation project(':shared:tests')
|
2022-12-24 11:21:51 +01:00
|
|
|
testImplementation project(':implementation')
|
2023-01-04 11:51:58 +01:00
|
|
|
testImplementation project(':plugins:aps')
|
2022-11-28 09:25:19 +01:00
|
|
|
|
2023-02-16 16:20:02 +01:00
|
|
|
// OpenHuman
|
|
|
|
api "com.squareup.okhttp3:okhttp:$okhttp3_version"
|
|
|
|
api "com.squareup.retrofit2:retrofit:$retrofit2_version"
|
|
|
|
api "androidx.browser:browser:1.5.0"
|
|
|
|
api "androidx.work:work-runtime-ktx:$work_version"
|
|
|
|
api "com.google.android.material:material:$material_version"
|
|
|
|
|
2022-11-28 09:25:19 +01:00
|
|
|
// NSClient, Tidepool
|
2023-01-20 10:41:42 +01:00
|
|
|
api("io.socket:socket.io-client:2.1.0")
|
2022-11-28 09:25:19 +01:00
|
|
|
api "com.squareup.okhttp3:okhttp:$okhttp3_version"
|
|
|
|
api "com.squareup.okhttp3:logging-interceptor:$okhttp3_version"
|
|
|
|
//api "com.squareup.retrofit2:retrofit:$retrofit2_version"
|
|
|
|
api "com.squareup.retrofit2:adapter-rxjava3:$retrofit2_version"
|
|
|
|
api "com.squareup.retrofit2:converter-gson:$retrofit2_version"
|
|
|
|
|
2022-11-28 13:54:33 +01:00
|
|
|
api "com.google.code.gson:gson:$gson_version"
|
2022-11-28 09:25:19 +01:00
|
|
|
}
|