From de7a1ee51afce34ee8269871f9476f2b913d758e Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 19 Oct 2023 21:18:14 +0200 Subject: [PATCH] gradle -> kts --- buildSrc/src/main/kotlin/Libs.kt | 5 +- core/main/allopen_dependencies.gradle | 4 -- core/main/android_module_dependencies.gradle | 61 -------------------- pump/omnipod-dash/build.gradle | 48 --------------- pump/omnipod-dash/build.gradle.kts | 48 +++++++++++++++ pump/omnipod-eros/build.gradle | 50 ---------------- pump/omnipod-eros/build.gradle.kts | 52 +++++++++++++++++ pump/pump-common/build.gradle | 26 --------- pump/pump-common/build.gradle.kts | 25 ++++++++ pump/rileylink/build.gradle | 22 ------- pump/rileylink/build.gradle.kts | 24 ++++++++ pump/virtual/build.gradle | 26 --------- pump/virtual/build.gradle.kts | 26 +++++++++ shared/impl/build.gradle | 24 -------- shared/impl/build.gradle.kts | 23 ++++++++ shared/tests/build.gradle | 34 ----------- shared/tests/build.gradle.kts | 29 ++++++++++ ui/build.gradle | 27 --------- ui/build.gradle.kts | 29 ++++++++++ workflow/build.gradle | 26 --------- workflow/build.gradle.kts | 28 +++++++++ 21 files changed, 287 insertions(+), 350 deletions(-) delete mode 100644 core/main/allopen_dependencies.gradle delete mode 100644 core/main/android_module_dependencies.gradle delete mode 100644 pump/omnipod-dash/build.gradle create mode 100644 pump/omnipod-dash/build.gradle.kts delete mode 100644 pump/omnipod-eros/build.gradle create mode 100644 pump/omnipod-eros/build.gradle.kts delete mode 100644 pump/pump-common/build.gradle create mode 100644 pump/pump-common/build.gradle.kts delete mode 100644 pump/rileylink/build.gradle create mode 100644 pump/rileylink/build.gradle.kts delete mode 100644 pump/virtual/build.gradle create mode 100644 pump/virtual/build.gradle.kts delete mode 100644 shared/impl/build.gradle create mode 100644 shared/impl/build.gradle.kts delete mode 100644 shared/tests/build.gradle create mode 100644 shared/tests/build.gradle.kts delete mode 100644 ui/build.gradle create mode 100644 ui/build.gradle.kts delete mode 100644 workflow/build.gradle create mode 100644 workflow/build.gradle.kts diff --git a/buildSrc/src/main/kotlin/Libs.kt b/buildSrc/src/main/kotlin/Libs.kt index 29a4f92449..afc21096a3 100644 --- a/buildSrc/src/main/kotlin/Libs.kt +++ b/buildSrc/src/main/kotlin/Libs.kt @@ -196,10 +196,11 @@ object Libs { const val kotlinTestRunner = "io.kotlintest:kotlintest-runner-junit5:3.4.2" const val rxandroidBle = "com.polidea.rxandroidble3:rxandroidble:1.17.2" const val rx3ReplayingShare = "com.jakewharton.rx3:replaying-share:3.0.0" + const val commonCodecs = "commons-codec:commons-codec:1.16.0" + const val kulid = "com.github.guepardoapps:kulid:2.0.0.0" + const val xstream = "com.thoughtworks.xstream:xstream:1.4.20" const val ormLite = "4.46" - const val nav = "2.7.4" - const val commonscodec = "1.16.0" const val junit = "4.13.2" const val mockito = "5.6.0" diff --git a/core/main/allopen_dependencies.gradle b/core/main/allopen_dependencies.gradle deleted file mode 100644 index 14416d2e8c..0000000000 --- a/core/main/allopen_dependencies.gradle +++ /dev/null @@ -1,4 +0,0 @@ -allOpen { - // allows mocking for classes w/o directly opening them for release builds - annotation 'app.aaps.annotations.OpenForTesting' -} diff --git a/core/main/android_module_dependencies.gradle b/core/main/android_module_dependencies.gradle deleted file mode 100644 index f28776b8b1..0000000000 --- a/core/main/android_module_dependencies.gradle +++ /dev/null @@ -1,61 +0,0 @@ -android { - compileSdk 34 - defaultConfig { - minSdkVersion 28 - targetSdkVersion 28 - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - } - - flavorDimensions = ["standard"] - productFlavors { - full { - getIsDefault().set(true) - dimension "standard" - } - pumpcontrol { - dimension "standard" - } - aapsclient { - dimension "standard" - } - aapsclient2 { - dimension "standard" - } - } - - // disable for modules here - buildFeatures { - viewBinding = true - buildConfig = false - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } - - sourceSets { - main { - jniLibs.srcDirs = ['src/main/jniLibs'] - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - lint { - checkReleaseBuilds false - disable 'MissingTranslation' - disable 'ExtraTranslation' - } -} - -dependencies { - kapt "com.google.dagger:dagger-android-processor:$dagger_version" - kapt "com.google.dagger:dagger-compiler:$dagger_version" -} diff --git a/pump/omnipod-dash/build.gradle b/pump/omnipod-dash/build.gradle deleted file mode 100644 index d414b36f9c..0000000000 --- a/pump/omnipod-dash/build.gradle +++ /dev/null @@ -1,48 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" - -android { - - namespace 'info.nightscout.androidaps.plugins.pump.omnipod.dash' - defaultConfig { - kapt { - arguments { - arg("room.incremental", "true") - arg("room.schemaLocation", "$projectDir/schemas") - } - } - } -} - -dependencies { - implementation project(':database:entities') - implementation project(':database:impl') - implementation project(':core:libraries') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:utils') - implementation project(':core:ui') - implementation project(':core:validators') - implementation project(':pump:pump-common') - implementation project(':pump:omnipod-common') - - api "androidx.room:room-ktx:$room_version" - api "androidx.room:room-runtime:$room_version" - api "androidx.room:room-rxjava3:$room_version" - kapt "androidx.room:room-compiler:$room_version" - - androidTestImplementation project(':shared:tests') - testImplementation project(':shared:tests') - testImplementation "commons-codec:commons-codec:$commonscodec_version" - - api 'com.github.guepardoapps:kulid:2.0.0.0' -} diff --git a/pump/omnipod-dash/build.gradle.kts b/pump/omnipod-dash/build.gradle.kts new file mode 100644 index 0000000000..4b68eb3abf --- /dev/null +++ b/pump/omnipod-dash/build.gradle.kts @@ -0,0 +1,48 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + + namespace = "info.nightscout.androidaps.plugins.pump.omnipod.dash" + defaultConfig { + kapt { + arguments { + arg("room.incremental", "true") + arg("room.schemaLocation", "$projectDir/schemas") + } + } + } +} + +dependencies { + implementation(project(":database:entities")) + implementation(project(":database:impl")) + implementation(project(":core:libraries")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:utils")) + implementation(project(":core:ui")) + implementation(project(":core:validators")) + implementation(project(":pump:pump-common")) + implementation(project(":pump:omnipod-common")) + + api(Libs.AndroidX.Room.room) + api(Libs.AndroidX.Room.runtime) + api(Libs.AndroidX.Room.rxJava3) + api(Libs.kulid) + + androidTestImplementation(project(":shared:tests")) + testImplementation(project(":shared:tests")) + testImplementation(Libs.commonCodecs) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) + kapt(Libs.AndroidX.Room.compiler) +} diff --git a/pump/omnipod-eros/build.gradle b/pump/omnipod-eros/build.gradle deleted file mode 100644 index bed6dd815c..0000000000 --- a/pump/omnipod-eros/build.gradle +++ /dev/null @@ -1,50 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" - -android { - - namespace 'info.nightscout.androidaps.plugins.pump.omnipod.eros' - defaultConfig { - kapt { - arguments { - arg("room.incremental", "true") - arg("room.schemaLocation", "$projectDir/schemas") - } - } - } -} - -dependencies { - implementation project(':database:entities') - implementation project(':database:impl') - implementation project(':core:libraries') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:utils') - implementation project(':core:ui') - implementation project(':core:validators') - implementation project(':pump:pump-common') - implementation project(':pump:rileylink') - implementation project(':pump:omnipod-common') - - testImplementation project(':shared:impl') - - api "androidx.room:room-ktx:$room_version" - api "androidx.room:room-runtime:$room_version" - api "androidx.room:room-rxjava3:$room_version" - kapt "androidx.room:room-compiler:$room_version" - - testImplementation project(':shared:tests') - // optional - Test helpers - testImplementation("androidx.room:room-testing:$room_version") - testImplementation project(':implementation') -} diff --git a/pump/omnipod-eros/build.gradle.kts b/pump/omnipod-eros/build.gradle.kts new file mode 100644 index 0000000000..1ebe77cd39 --- /dev/null +++ b/pump/omnipod-eros/build.gradle.kts @@ -0,0 +1,52 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + + namespace = "info.nightscout.androidaps.plugins.pump.omnipod.eros" + defaultConfig { + kapt { + arguments { + arg("room.incremental", "true") + arg("room.schemaLocation", "$projectDir/schemas") + } + } + } +} + +dependencies { + implementation(project(":database:entities")) + implementation(project(":database:impl")) + implementation(project(":core:libraries")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:utils")) + implementation(project(":core:ui")) + implementation(project(":core:validators")) + implementation(project(":pump:pump-common")) + implementation(project(":pump:rileylink")) + implementation(project(":pump:omnipod-common")) + + api(Libs.AndroidX.Room.room) + api(Libs.AndroidX.Room.runtime) + api(Libs.AndroidX.Room.rxJava3) + + androidTestImplementation(project(":shared:tests")) + // optional - Test helpers + testImplementation(Libs.AndroidX.Room.testing) + testImplementation(project(":implementation")) + testImplementation(project(":shared:impl")) + testImplementation(project(":shared:tests")) + + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) + kapt(Libs.AndroidX.Room.compiler) +} diff --git a/pump/pump-common/build.gradle b/pump/pump-common/build.gradle deleted file mode 100644 index 0844ae07a0..0000000000 --- a/pump/pump-common/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" -android { - namespace 'info.nightscout.pump.common' -} - -dependencies { - implementation project(':core:interfaces') - implementation project(':core:utils') - - implementation('com.thoughtworks.xstream:xstream:1.4.20') { - exclude group: 'xmlpull', module: 'xmlpull' - } - - api "com.google.code.gson:gson:$gson_version" - implementation project(path: ':core:ui') -} diff --git a/pump/pump-common/build.gradle.kts b/pump/pump-common/build.gradle.kts new file mode 100644 index 0000000000..284ce51fa2 --- /dev/null +++ b/pump/pump-common/build.gradle.kts @@ -0,0 +1,25 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "info.nightscout.pump.common" +} + +dependencies { + implementation(project(":core:interfaces")) + implementation(project(":core:utils")) + implementation(project(":core:ui")) + + api(Libs.xstream) + api(Libs.Google.gson) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} diff --git a/pump/rileylink/build.gradle b/pump/rileylink/build.gradle deleted file mode 100644 index 773f5663f7..0000000000 --- a/pump/rileylink/build.gradle +++ /dev/null @@ -1,22 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" -android { - namespace 'info.nightscout.androidaps.plugins.pump.common.hw.rileylink' -} - -dependencies { - implementation project(':core:interfaces') - implementation project(':core:ui') - implementation project(':pump:pump-common') - - testImplementation project(':shared:tests') -} diff --git a/pump/rileylink/build.gradle.kts b/pump/rileylink/build.gradle.kts new file mode 100644 index 0000000000..0305f4c1e4 --- /dev/null +++ b/pump/rileylink/build.gradle.kts @@ -0,0 +1,24 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "info.nightscout.androidaps.plugins.pump.common.hw.rileylink" +} + +dependencies { + implementation(project(":core:interfaces")) + implementation(project(":core:ui")) + implementation(project(":pump:pump-common")) + + testImplementation(project(":shared:tests")) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} diff --git a/pump/virtual/build.gradle b/pump/virtual/build.gradle deleted file mode 100644 index d5c8563d53..0000000000 --- a/pump/virtual/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" - -android { - - namespace 'app.aaps.pump.virtual' -} - -dependencies { - implementation project(':database:entities') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:ui') - implementation project(':core:utils') - - testImplementation project(':shared:tests') -} \ No newline at end of file diff --git a/pump/virtual/build.gradle.kts b/pump/virtual/build.gradle.kts new file mode 100644 index 0000000000..9f3855284f --- /dev/null +++ b/pump/virtual/build.gradle.kts @@ -0,0 +1,26 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "app.aaps.pump.virtual" +} + +dependencies { + implementation(project(":database:entities")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:ui")) + implementation(project(":core:utils")) + + testImplementation(project(":shared:tests")) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} \ No newline at end of file diff --git a/shared/impl/build.gradle b/shared/impl/build.gradle deleted file mode 100644 index 9c5e3762a3..0000000000 --- a/shared/impl/build.gradle +++ /dev/null @@ -1,24 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' - id 'kotlinx-serialization' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" - -android { - - namespace 'app.aaps.shared.impl' - defaultConfig { - minSdkVersion 26 // for wear - } -} - -dependencies { - implementation project(':core:interfaces') -} \ No newline at end of file diff --git a/shared/impl/build.gradle.kts b/shared/impl/build.gradle.kts new file mode 100644 index 0000000000..999428294e --- /dev/null +++ b/shared/impl/build.gradle.kts @@ -0,0 +1,23 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "app.aaps.shared.impl" + defaultConfig { + minSdk = Versions.wearMinSdk // for wear + } +} + +dependencies { + implementation(project(":core:interfaces")) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} \ No newline at end of file diff --git a/shared/tests/build.gradle b/shared/tests/build.gradle deleted file mode 100644 index 43bce750c4..0000000000 --- a/shared/tests/build.gradle +++ /dev/null @@ -1,34 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlinx-serialization' - id 'kotlin-allopen' -} - -apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle" -apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle" -apply from: "${project.rootDir}/core/main/test_dependencies.gradle" -apply from: "${project.rootDir}/core/main/jacoco_global.gradle" - -android { - namespace 'app.aaps.shared.tests' -} - -dependencies { - implementation project(':database:entities') - implementation project(':shared:impl') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:utils') - implementation project(':implementation') - - - api "org.mockito:mockito-junit-jupiter:$mockito_version" - api "org.mockito.kotlin:mockito-kotlin:5.1.0" - api "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version" - - api "com.google.dagger:dagger:$dagger_version" - api "com.google.dagger:dagger-android:$dagger_version" - api "com.google.dagger:dagger-android-support:$dagger_version" -} \ No newline at end of file diff --git a/shared/tests/build.gradle.kts b/shared/tests/build.gradle.kts new file mode 100644 index 0000000000..56da924512 --- /dev/null +++ b/shared/tests/build.gradle.kts @@ -0,0 +1,29 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("android-module-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "app.aaps.shared.tests" +} + +dependencies { + implementation(project(":database:entities")) + implementation(project(":shared:impl")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:utils")) + implementation(project(":implementation")) + + + api(Libs.Mockito.jupiter) + api(Libs.Mockito.kotlin) + api(Libs.JUnit.jupiterApi) + + //api "com.google.dagger:dagger:$dagger_version" + //api "com.google.dagger:dagger-android:$dagger_version" + //api "com.google.dagger:dagger-android-support:$dagger_version" +} \ No newline at end of file diff --git a/ui/build.gradle b/ui/build.gradle deleted file mode 100644 index 27e4a0fe55..0000000000 --- a/ui/build.gradle +++ /dev/null @@ -1,27 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -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/jacoco_global.gradle" - -android { - namespace 'app.aaps.ui' -} - -dependencies { - implementation project(':core:libraries') - implementation project(':core:graphview') - implementation project(':database:entities') - implementation project(':database:impl') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:ui') - implementation project(':core:utils') - - testImplementation project(':shared:tests') -} \ No newline at end of file diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts new file mode 100644 index 0000000000..f368bab011 --- /dev/null +++ b/ui/build.gradle.kts @@ -0,0 +1,29 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "app.aaps.ui" +} + +dependencies { + implementation(project(":core:libraries")) + implementation(project(":core:graphview")) + implementation(project(":database:entities")) + implementation(project(":database:impl")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:ui")) + implementation(project(":core:utils")) + + testImplementation(project(":shared:tests")) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} \ No newline at end of file diff --git a/workflow/build.gradle b/workflow/build.gradle deleted file mode 100644 index 50c3189809..0000000000 --- a/workflow/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -plugins { - id 'com.android.library' - id 'kotlin-android' - id 'kotlin-kapt' - id 'kotlin-allopen' -} - -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/jacoco_global.gradle" - -android { - namespace 'app.aaps.workflow' -} - -dependencies { - implementation project(':core:libraries') - implementation project(':core:graphview') - implementation project(':core:interfaces') - implementation project(':core:main') - implementation project(':core:ui') - implementation project(':core:utils') - implementation project(':database:entities') - implementation project(':database:impl') - implementation project(':plugins:main') -} \ No newline at end of file diff --git a/workflow/build.gradle.kts b/workflow/build.gradle.kts new file mode 100644 index 0000000000..eb7a2a47fd --- /dev/null +++ b/workflow/build.gradle.kts @@ -0,0 +1,28 @@ +plugins { + id("com.android.library") + id("kotlin-android") + id("kotlin-kapt") + id("android-module-dependencies") + id("test-dependencies") +} + +apply(from = "${project.rootDir}/core/main/jacoco_global.gradle") + +android { + namespace = "app.aaps.workflow" +} + +dependencies { + implementation(project(":core:libraries")) + implementation(project(":core:graphview")) + implementation(project(":core:interfaces")) + implementation(project(":core:main")) + implementation(project(":core:ui")) + implementation(project(":core:utils")) + implementation(project(":database:entities")) + implementation(project(":database:impl")) + implementation(project(":plugins:main")) + + kapt(Libs.Dagger.compiler) + kapt(Libs.Dagger.androidProcessor) +} \ No newline at end of file