@@ -33,13 +33,13 @@ plugins {
3333 application
3434 idea
3535 java
36- kotlin(" jvm" ) version " 2.1.0 "
36+ kotlin(" jvm" ) version " 2.1.21 "
3737 id(" org.beryx.jlink" ) version " 3.1.1"
3838}
3939
4040val javaVersion = JavaVersion .current()
4141val kotlinTargetJdk = JvmTarget .fromTarget(javaVersion.majorVersion)
42- val junit5Version = " 5.11.3 "
42+ val junit5Version = " 5.12.2 "
4343val holocoreLogLevel: String? by project
4444
4545subprojects {
@@ -77,23 +77,23 @@ dependencies {
7777 implementation(project(" :pswgcommon" ))
7878 implementation(kotlin(" stdlib" ))
7979 implementation(kotlin(" reflect" ))
80- implementation(group= " org.jetbrains.kotlinx" , name= " kotlinx-coroutines-core" , version= " 1.9.0 " )
81- implementation(group= " org.mongodb" , name= " mongodb-driver-sync" , version= " 5.2.1 " )
80+ implementation(group= " org.jetbrains.kotlinx" , name= " kotlinx-coroutines-core" , version= " 1.10.2 " )
81+ implementation(group= " org.mongodb" , name= " mongodb-driver-sync" , version= " 5.5.0 " )
8282 implementation(group= " me.joshlarson" , name= " fast-json" , version= " 3.0.1" )
8383 implementation(group= " me.joshlarson" , name= " jlcommon-network" , version= " 1.1.0" )
8484 implementation(group= " me.joshlarson" , name= " jlcommon-argparse" , version= " 0.9.6" )
8585 implementation(group= " me.joshlarson" , name= " websocket" , version= " 0.9.4" )
8686 val slf4jVersion = " 1.7.36"
87- runtimeOnly(group= " org.slf4j" , name= " slf4j-jdk14" , version= slf4jVersion)
87+ runtimeOnly(group= " org.slf4j" , name= " slf4j-jdk14" , version= slf4jVersion)
8888
8989 utilityImplementation(project(" :" ))
9090 utilityImplementation(project(" :pswgcommon" ))
91-
91+
9292 testImplementation(group= " org.junit.jupiter" , name= " junit-jupiter-api" , version= junit5Version)
9393 testRuntimeOnly(group= " org.junit.jupiter" , name= " junit-jupiter-engine" , version= junit5Version)
94- testRuntimeOnly(group= " org.junit.platform" , name= " junit-platform-launcher" , version= " 1.11.3 " )
94+ testRuntimeOnly(group= " org.junit.platform" , name= " junit-platform-launcher" , version= " 1.12.2 " )
9595 testImplementation(group= " org.junit.jupiter" , name= " junit-jupiter-params" , version= junit5Version)
96- testImplementation(group= " org.testcontainers" , name= " mongodb" , version= " 1.20.4 " )
96+ testImplementation(group= " org.testcontainers" , name= " mongodb" , version= " 1.21.0 " )
9797
9898 testImplementation(" com.tngtech.archunit:archunit-junit5:1.3.0" )
9999}
@@ -193,7 +193,7 @@ tasks.register("createRunScript") {
193193 val modulePath = " $runtimeClasspath${File .pathSeparator}$mainJavaOutputDir "
194194
195195 // Assemble the command
196- val command = " clear; JAVA_HOME=$javaHome ./gradlew classes && $javaExecutable -ea -p $modulePath -m holocore/com.projectswg.holocore.ProjectSWG --print-colors"
196+ val command = " clear; JAVA_HOME=$javaHome ./gradlew classes && $javaExecutable -Xms1G -Xmx2G -XX:+UseZGC -XX:+ZGenerational - ea -p $modulePath -m holocore/com.projectswg.holocore.ProjectSWG --print-colors"
197197
198198 // File to write the run command
199199 val outputFile = file(" ${layout.buildDirectory.asFile.get().absolutePath} /run" )
0 commit comments