diff --git a/build.gradle b/build.gradle index 3b4bd6a..76d65b4 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ static def determineVersion(String defaultVersion) { } group = "dev.mikchan.mcnp" -version = determineVersion("1.3.0") +version = determineVersion("1.3.1") def localProperties = new Properties() def propertiesFile = rootProject.file("local.properties") @@ -52,6 +52,9 @@ repositories { maven { name = "Ailis Maven Releases" url = "https://nexus.ailis.de/repository/maven-releases/de/ailis/pherialize/pherialize/" + content { + includeGroup "com.xk72" + } } maven { @@ -64,8 +67,8 @@ dependencies { //noinspection VulnerableLibrariesLocal compileOnly "org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT" compileOnly "net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT" - compileOnly 'com.velocitypowered:velocity-api:3.1.1' - annotationProcessor 'com.velocitypowered:velocity-api:3.1.1' + compileOnly 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' + annotationProcessor 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bukkit:2.7.2" compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bungeecord:2.7.2" @@ -83,7 +86,7 @@ dependencies { shadow "org.bstats:bstats-bukkit:3.0.1" } -def targetJavaVersion = 11 +def targetJavaVersion = 17 java { def javaVersion = JavaVersion.toVersion(targetJavaVersion) if (JavaVersion.current() < javaVersion) { diff --git a/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt b/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt index 7864962..bd4ffca 100644 --- a/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt +++ b/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt @@ -17,7 +17,7 @@ import java.net.http.HttpResponse * Reference `https://tmonitoring.com/uploads/files/top.zip` */ internal fun Route.createTMonitoringComRoute(plugin: IPlugin) { - get("/tmonitoring.com") { + get("/tmonitoring.com/top.php") { val hash = call.request.queryParameters["hash"] val id = call.request.queryParameters["id"]