[Gradle, JS] Fix binaries.executable for Groovy dsl
#KT-37936 fixed
This commit is contained in:
+5
@@ -34,6 +34,11 @@ constructor(
|
||||
private val defaultCompilation: KotlinJsCompilation
|
||||
get() = target.compilations.getByName(KotlinCompilation.MAIN_COMPILATION_NAME)
|
||||
|
||||
// For Groovy DSL
|
||||
fun executable() {
|
||||
executable(defaultCompilation)
|
||||
}
|
||||
|
||||
fun executable(
|
||||
compilation: KotlinJsCompilation = defaultCompilation
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user