Revert "[Gradle] Add dsl marker to KotlinSourceSet"
This reverts commit eb663117c7.
This commit is contained in:
committed by
Space Team
parent
e8704cc556
commit
2a55aa782d
@@ -431,15 +431,13 @@ kotlin {
|
||||
kotlin.srcDir("${jsDir}/test")
|
||||
}
|
||||
|
||||
val commonMainSourceSet = commonMain.get()
|
||||
val nativeWasmMain by creating {
|
||||
dependsOn(commonMainSourceSet)
|
||||
dependsOn(commonMain.get())
|
||||
kotlin.srcDir("native-wasm/src")
|
||||
}
|
||||
|
||||
val commonTestSourceSet = commonTest.get()
|
||||
val nativeWasmTest by creating {
|
||||
dependsOn(commonTestSourceSet)
|
||||
dependsOn(commonTest.get())
|
||||
kotlin.srcDir("native-wasm/test")
|
||||
}
|
||||
|
||||
@@ -527,7 +525,7 @@ kotlin {
|
||||
|
||||
if (kotlinBuildProperties.isInIdeaSync) {
|
||||
val nativeKotlinTestCommon by creating {
|
||||
dependsOn(commonMainSourceSet)
|
||||
dependsOn(commonMain.get())
|
||||
val prepareKotlinTestCommonNativeSources by tasks.registering(Sync::class) {
|
||||
from("../kotlin.test/common/src/main/kotlin")
|
||||
from("../kotlin.test/annotations-common/src/main/kotlin")
|
||||
|
||||
Reference in New Issue
Block a user