[Gradle] Add missing depends on relation in test data project

^KT-61106 Verification Pending
This commit is contained in:
Anton Lakotka
2023-09-12 18:07:33 +02:00
committed by Space Team
parent db03cd8cd7
commit e23801fdfc
2 changed files with 7 additions and 2 deletions
@@ -52,7 +52,9 @@ kotlin {
implementation 'org.jetbrains.kotlin:kotlin-test-js'
}
}
nativeMain
nativeMain {
dependsOn commonMain
}
configure([macos64Main, macosArm64Main, linux64Main, mingw64Main]) {
dependsOn nativeMain
}
@@ -18,6 +18,7 @@ kotlin {
val mingw64 = mingwX64("mingw64")
sourceSets {
val commonMain by getting
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
@@ -44,7 +45,9 @@ kotlin {
}
}
val nativeMain by creating
val nativeMain by creating {
dependsOn(commonMain)
}
configure(listOf(macos64, macosArm64, linux64, mingw64)) {
compilations["main"].defaultSourceSet.dependsOn(nativeMain)
}