Clean up project
This commit is contained in:
@@ -4,6 +4,10 @@ plugins {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
kotlin.applyDefaultHierarchyTemplate()
|
||||
|
||||
androidTarget()
|
||||
|
||||
androidTarget {
|
||||
compilations.all {
|
||||
kotlinOptions {
|
||||
@@ -24,12 +28,23 @@ kotlin {
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
commonMain.dependencies {
|
||||
//put your multiplatform dependencies here
|
||||
val commonMain by getting {
|
||||
//Fix for: https://stackoverflow.com/a/69626787
|
||||
all {
|
||||
languageSettings.optIn("io.ktor.util.InternalAPI")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
}
|
||||
kotlin.srcDir(layout.buildDirectory.dir("/generate-resources/main/src/"))
|
||||
}
|
||||
commonTest.dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
val commonTest by getting {
|
||||
dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
}
|
||||
}
|
||||
logger.info("${commonMain.name} ${commonTest.name}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user