napperley
09/17/2022, 3:16 AM// ...
sourceSets {
commonMain {
dependencies {
// ...
}
}
val linuxCommonMain by creating {
// ...
}
@Suppress("UNUSED_VARIABLE")
val linuxX64Main by getting {
dependsOn(linuxCommonMain)
}
@Suppress("UNUSED_VARIABLE")
val frontendMain by getting {
resources.srcDir(webDir)
}
}
napperley
09/17/2022, 3:22 AMnapperley
09/17/2022, 3:25 AMephemient
09/17/2022, 6:30 AMlinuxX64Test.dependsOn(linuxX64Main)
, which means it transitively depends on linuxCommonMain
. is what you want a linuxCommonTest
source set?napperley
09/18/2022, 2:53 AMnapperley
09/19/2022, 2:26 AMVampire
09/19/2022, 10:09 AMVampire
09/19/2022, 10:56 AM