Use Android Source Set v2

This commit is contained in:
Syer10
2023-03-26 16:44:35 -04:00
parent 684b0f68ed
commit 72af19e426
7 changed files with 7 additions and 14 deletions

View File

@@ -87,14 +87,6 @@ subprojects {
sourceCompatibility(Config.androidJvmTarget)
targetCompatibility(Config.androidJvmTarget)
}
sourceSets {
named("main") {
val altManifest = file("src/androidMain/AndroidManifest.xml")
if (altManifest.exists()) {
manifest.srcFile(altManifest.path)
}
}
}
dependencies {
add("coreLibraryDesugaring", libs.desugarJdkLibs)
}

View File

@@ -93,7 +93,7 @@ kotlin {
api(libs.compose.ui.text)
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependsOn(jvmTest)
}

View File

@@ -81,7 +81,7 @@ kotlin {
val androidMain by getting {
dependsOn(jvmMain)
}
val androidTest by getting {
val androidUnitTest by getting {
dependsOn(jvmTest)
}

View File

@@ -90,7 +90,7 @@ kotlin {
val androidMain by getting {
dependsOn(jvmMain)
}
val androidTest by getting {
val androidUnitTest by getting {
dependsOn(jvmTest)
}

View File

@@ -6,3 +6,4 @@ kotlin.mpp.stability.nowarn=true
kotlin.native.ignoreDisabledTargets=true
kotlin.native.cacheKind=none
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.mpp.androidSourceSetLayoutVersion=2

View File

@@ -113,7 +113,7 @@ kotlin {
api(libs.voyager.androidx)
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependsOn(jvmTest)
}

View File

@@ -91,7 +91,7 @@ kotlin {
api(libs.androidx.appCompat)
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependsOn(jvmTest)
}