File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
buildSrc/src/main/kotlin/korlibs/korge/gradle Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,16 @@ fun Project.configureRepositories() {
1414 mavenCentral().config()
1515 google().config()
1616 maven { it.url = uri(" https://plugins.gradle.org/m2/" ) }.config()
17- // if (kotlinVersionIsDev) {
18- run {
17+ if (kotlinVersionIsDev) {
1918 maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap" ) }.config()
2019 maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/kotlin/temporary" ) }.config()
2120 maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev" ) }.config()
2221 maven { it.url = uri(" https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven" ) }.config()
2322 maven { it.url = uri(" https://oss.sonatype.org/content/repositories/snapshots/" ) }.config()
2423 maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/kotlin/temporary" ) }
2524 maven { it.url = uri(" https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven" ) }
25+ maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental" ) }
2626 }
27- maven { it.url = uri(" https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental" ) }
2827 // println("kotlinVersion=$kotlinVersion")
2928 }
3029}
Original file line number Diff line number Diff line change @@ -49,9 +49,8 @@ fun Project.configureErrorableEsbuild() {
4949 val file3: File ? = File (nodeDir, " node_modules/npm/bin/npm-cli.js" ).takeIf { it.exists() }
5050 val npmCmd = arrayOf<File >(
5151 file1,
52- file2
53- ? : file2
54- ? : error(" Can't find npm-cli.js in ${nodeDir} standard folders" )
52+ file2 ? : file2 ? : file3
53+ ? : error(" Can't find npm-cli.js in $nodeDir standard folders $file1 , $file2 , $file3 " )
5554 )
5655
5756 environment(" PATH" , ENV_PATH )
You can’t perform that action at this time.
0 commit comments