File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111 id(" scripts-task" )
1212
1313 id(" com.github.ben-manes.versions" ) version " 0.38.0"
14- id(" se.patrikerdes.use-latest-versions" ) version " 0.2.15 "
14+ id(" se.patrikerdes.use-latest-versions" ) version " 0.2.16 "
1515}
1616
1717val gameName by extra { property(" socha.gameName" ) as String }
@@ -251,13 +251,17 @@ subprojects {
251251 freeCompilerArgs = listOf (" -Xjvm-default=all" )
252252 }
253253 }
254+
255+ compileTestKotlin.get().kotlinOptions {
256+ freeCompilerArgs = freeCompilerArgs.plus(" -Xopt-in=kotlin.RequiresOptIn" )
257+ }
254258 }
255259}
256260
257261allprojects {
258262 repositories {
259- jcenter ()
260- maven(" http ://dist.wso2.org/maven2" )
263+ mavenCentral ()
264+ maven(" https ://dist.wso2.org/maven2" )
261265 }
262266
263267 if (this .name in documentedProjects) {
Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ tasks {
9696 doLast {
9797 // required by gradle to distinguish the test build from
9898 execDir.resolve(" settings.gradle" ).createNewFile()
99- val command = arrayListOf (if (OperatingSystem .current() == OperatingSystem .WINDOWS ) " ./gradlew.bat" else " ./gradlew" ,
99+ val command = arrayListOf (
100+ " ./gradlew${if (OperatingSystem .current().isWindows) " .bat" else " " } " ,
100101 " shadowJar" , " --quiet" , " --offline" )
101102 val process = ProcessBuilder (command).directory(execDir)
102103 .redirectOutput(execDir.resolve(" player-shadowJar-build.log" ))
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ configurations.archives.get().artifacts.removeIf { it.name == "testConfig" }
2727
2828dependencies {
2929 api(kotlin(" stdlib" ))
30- api(" com.thoughtworks.xstream" , " xstream" , " 1.4.15 " )
30+ api(" com.thoughtworks.xstream" , " xstream" , " 1.4.16 " )
3131 api(" jargs" , " jargs" , " 1.0" )
3232 api(" ch.qos.logback" , " logback-classic" , " 1.2.3" )
3333
You can’t perform that action at this time.
0 commit comments