AndroidAPS/plugins/main/build.gradle

62 lines
2.2 KiB
Groovy
Raw Normal View History

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: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-09 13:30:48 +01:00
implementation project(':core:core-main')
2022-11-22 21:39:19 +01:00
implementation project(':core:graph')
2022-11-25 22:14:46 +01:00
implementation project(':core:graphview')
implementation project(':core:interfaces')
implementation project(':core:ns-sdk')
2022-11-14 10:58:59 +01:00
implementation project(':core:ui')
2022-11-22 21:39:19 +01:00
implementation project(':core:utils')
2022-11-26 17:28:08 +01:00
implementation project(':core:validators')
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"
//SmsCommunicator
2022-11-27 17:08:46 +01:00
api 'com.eatthepath:java-otp:0.4.0'
2022-11-09 12:20:03 +01:00
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-24 00:01:20 +01:00
// DataLayerListenerService
api "com.google.android.gms:play-services-wearable:$play_services_wearable_version"
2022-11-01 14:42:49 +01:00
}