Skip to content

Commit 94a88a3

Browse files
committed
create setupJsApp feature for create js library/application using kmm
1 parent 80c5bb8 commit 94a88a3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.sliderzxc.gradle.js
2+
3+
import org.gradle.api.Project
4+
import org.gradle.kotlin.dsl.configure
5+
import org.jetbrains.kotlin.gradle.dsl.KotlinJsProjectExtension
6+
7+
fun Project.setupJsApp() {
8+
extensions.configure<KotlinJsProjectExtension> {
9+
js(IR) {
10+
browser()
11+
binaries.executable()
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)