2022-11-08 09:23:46 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
id 'com.hiya.jacoco-android'
|
|
|
|
}
|
2022-11-01 14:42:49 +01:00
|
|
|
|
2022-11-09 13:30:48 +01:00
|
|
|
apply from: "${project.rootDir}/core/core-main/android_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/core-main/android_module_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/core-main/test_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/core-main/allopen_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/core-main/jacoco_global.gradle"
|
2022-11-01 14:42:49 +01:00
|
|
|
android {
|
|
|
|
namespace 'info.nightscout.plugins'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-11-06 12:28:35 +01:00
|
|
|
implementation project(':app-wear-shared:rx')
|
|
|
|
implementation project(':app-wear-shared:shared')
|
2022-11-09 23:28:48 +01:00
|
|
|
implementation project(':database:entities')
|
2022-11-09 16:49:36 +01:00
|
|
|
implementation project(':database:impl')
|
2022-11-01 14:42:49 +01:00
|
|
|
implementation project(':graphview')
|
2022-11-09 13:30:48 +01:00
|
|
|
implementation project(':core:core-main')
|
2022-11-21 20:26:06 +01:00
|
|
|
implementation project(':core:utils')
|
2022-11-14 10:58:59 +01:00
|
|
|
implementation project(':core:ui')
|
2022-11-06 17:48:42 +01:00
|
|
|
implementation project(':interfaces')
|
2022-11-08 17:34:47 +01:00
|
|
|
implementation project(':ns-sdk')
|
2022-11-09 12:20:03 +01:00
|
|
|
|
2022-11-11 17:46:09 +01:00
|
|
|
api "androidx.appcompat:appcompat:$appcompat_version"
|
|
|
|
api "com.google.android.material:material:$material_version"
|
|
|
|
|
2022-11-09 12:20:03 +01:00
|
|
|
// Actions
|
2022-11-18 17:28:13 +01:00
|
|
|
api "androidx.gridlayout:gridlayout:$gridlayout_version"
|
2022-11-09 12:20:03 +01:00
|
|
|
|
|
|
|
// NSClient, Tidepool
|
|
|
|
api("io.socket:socket.io-client:1.0.0") {
|
|
|
|
// excluding org.json which is provided by Android
|
|
|
|
exclude group: "org.json", module: "json"
|
|
|
|
}
|
|
|
|
api "com.squareup.okhttp3:okhttp:$okhttp3_version"
|
|
|
|
api "com.squareup.okhttp3:logging-interceptor:$okhttp3_version"
|
2022-11-09 15:56:59 +01:00
|
|
|
//api "com.squareup.retrofit2:retrofit:$retrofit2_version"
|
2022-11-09 12:20:03 +01:00
|
|
|
api "com.squareup.retrofit2:adapter-rxjava3:$retrofit2_version"
|
|
|
|
api "com.squareup.retrofit2:converter-gson:$retrofit2_version"
|
|
|
|
|
|
|
|
|
|
|
|
// Phone checker
|
2022-11-10 14:23:13 +01:00
|
|
|
api 'com.scottyab:rootbeer-lib:0.1.0'
|
2022-11-09 12:20:03 +01:00
|
|
|
|
|
|
|
//SmsCommunicator
|
|
|
|
api 'com.eatthepath:java-otp:0.3.1'
|
|
|
|
api 'com.github.kenglxn.QRGen:android:2.6.0'
|
|
|
|
|
2022-11-11 17:46:09 +01:00
|
|
|
// Overview
|
|
|
|
api 'com.google.android.flexbox:flexbox:3.0.0'
|
2022-11-17 20:37:51 +01:00
|
|
|
|
|
|
|
// Food
|
|
|
|
api "androidx.work:work-runtime:$work_version"
|
|
|
|
api "androidx.work:work-runtime-ktx:$work_version"
|
2022-11-01 14:42:49 +01:00
|
|
|
}
|