2022-02-22 19:50:57 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
2022-12-02 10:56:11 +01:00
|
|
|
apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
|
2022-12-04 20:34:33 +01:00
|
|
|
apply from: "${project.rootDir}/core/main/test_dependencies.gradle"
|
2022-02-22 19:50:57 +01:00
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'info.nightscout.comboctl'
|
|
|
|
sourceSets {
|
|
|
|
main {
|
2022-11-23 23:33:00 +01:00
|
|
|
kotlin.srcDirs += ['src/commonMain/kotlin', 'src/androidMain/kotlin']
|
2022-02-22 19:50:57 +01:00
|
|
|
manifest.srcFile 'src/androidMain/AndroidManifest.xml'
|
|
|
|
}
|
2022-12-04 20:34:33 +01:00
|
|
|
test {
|
|
|
|
kotlin.srcDirs += ['src/jvmTest/kotlin']
|
|
|
|
}
|
2022-02-22 19:50:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation platform("org.jetbrains.kotlin:kotlin-bom")
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-datetime:$kotlinx_datetime_version"
|
|
|
|
implementation "androidx.core:core-ktx:$core_version"
|
2022-12-04 20:34:33 +01:00
|
|
|
testImplementation 'org.jetbrains.kotlin:kotlin-test'
|
|
|
|
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
|
|
|
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_jupiter_version"
|
|
|
|
}
|