gradle -> kts
This commit is contained in:
parent
532ad29ab0
commit
de7a1ee51a
21 changed files with 287 additions and 350 deletions
|
@ -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"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
allOpen {
|
||||
// allows mocking for classes w/o directly opening them for release builds
|
||||
annotation 'app.aaps.annotations.OpenForTesting'
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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'
|
||||
}
|
48
pump/omnipod-dash/build.gradle.kts
Normal file
48
pump/omnipod-dash/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
52
pump/omnipod-eros/build.gradle.kts
Normal file
52
pump/omnipod-eros/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
25
pump/pump-common/build.gradle.kts
Normal file
25
pump/pump-common/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
24
pump/rileylink/build.gradle.kts
Normal file
24
pump/rileylink/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
26
pump/virtual/build.gradle.kts
Normal file
26
pump/virtual/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
23
shared/impl/build.gradle.kts
Normal file
23
shared/impl/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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"
|
||||
}
|
29
shared/tests/build.gradle.kts
Normal file
29
shared/tests/build.gradle.kts
Normal file
|
@ -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"
|
||||
}
|
|
@ -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')
|
||||
}
|
29
ui/build.gradle.kts
Normal file
29
ui/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
|
@ -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')
|
||||
}
|
28
workflow/build.gradle.kts
Normal file
28
workflow/build.gradle.kts
Normal file
|
@ -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)
|
||||
}
|
Loading…
Reference in a new issue