Skip to content

Commit 8beb4b6

Browse files
committed
Bumped versions
1 parent cae344e commit 8beb4b6

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

build.gradle.kts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

4040
val javaVersion = JavaVersion.current()
4141
val kotlinTargetJdk = JvmTarget.fromTarget(javaVersion.majorVersion)
42-
val junit5Version = "5.11.3"
42+
val junit5Version = "5.12.2"
4343
val holocoreLogLevel: String? by project
4444

4545
subprojects {
@@ -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")

src/test/java/com/projectswg/holocore/resources/support/data/server_info/mongodb/PswgUserDatabaseMongoTest.kt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/***********************************************************************************
2-
* Copyright (c) 2023 /// Project SWG /// www.projectswg.com *
2+
* Copyright (c) 2025 /// Project SWG /// www.projectswg.com *
33
* *
4-
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
4+
* ProjectSWG is an emulation project for Star Wars Galaxies founded on *
55
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
6-
* Our goal is to create an emulator which will provide a server for players to *
7-
* continue playing a game similar to the one they used to play. We are basing *
8-
* it on the final publish of the game prior to end-game events. *
6+
* Our goal is to create one or more emulators which will provide servers for *
7+
* players to continue playing a game similar to the one they used to play. *
98
* *
109
* This file is part of Holocore. *
1110
* *
@@ -29,8 +28,10 @@ package com.projectswg.holocore.resources.support.data.server_info.mongodb
2928
import com.mongodb.client.MongoDatabase
3029
import com.projectswg.holocore.resources.support.data.server_info.database.PswgUserDatabase
3130
import org.bson.Document
32-
import org.junit.jupiter.api.*
31+
import org.junit.jupiter.api.AfterEach
3332
import org.junit.jupiter.api.Assertions.*
33+
import org.junit.jupiter.api.BeforeEach
34+
import org.junit.jupiter.api.Test
3435

3536
class PswgUserDatabaseMongoTest {
3637

0 commit comments

Comments
 (0)