Skip to content

Commit 1c489c6

Browse files
committed
add config code
1 parent d3e4b8c commit 1c489c6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ kotlinFrontend {
5959
devDependency("karma", "3.1.4")
6060
devDependency("karma-chrome-launcher", "2.2.0")
6161
}
62+
// webpackBundle {
63+
// bundleName = "main"
64+
// contentPath = file('src/main/web')
65+
// mode = "development"
66+
// }
67+
// karma {
68+
// plugins = ["karma-chrome-launcher"]
69+
// browsers = ["ChromeHeadless"]
70+
// }
6271
}
6372

6473
compileKotlin2Js {
@@ -83,3 +92,9 @@ task copyResourcesForTests(type: Copy) {
8392
into file(buildDir.path + "/js-tests/")
8493
}
8594

95+
//afterEvaluate {
96+
// tasks.getByName("webpack-bundle") { dependsOn(copyResources) }
97+
// tasks.getByName("webpack-run") { dependsOn(copyResources) }
98+
// tasks.getByName("test") { dependsOn(copyResources, copyResourcesForTests) }
99+
// tasks.getByName("karma-start") { dependsOn(copyResources, copyResourcesForTests) }
100+
//}

0 commit comments

Comments
 (0)