[Gradle, JS] Create predefined source sets for single platform plugin

This commit is contained in:
Ilya Goncharov
2020-02-19 11:35:56 +03:00
parent 06be32550b
commit 9112da2ad7
@@ -63,5 +63,9 @@ open class KotlinJsPlugin(
)
}
}
// Also create predefined source sets
kotlinExtension.sourceSets.maybeCreate(MAIN_COMPILATION_NAME)
kotlinExtension.sourceSets.maybeCreate(TEST_COMPILATION_NAME)
}
}