updated dependencies and updated all usages accordingly, replaced deprecated methods, and updated project to JDK 25
This commit is contained in:
+13
-40
@@ -3,7 +3,7 @@
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id "com.github.johnrengelman.shadow" version "7.1.0"
|
||||
id "com.gradleup.shadow" version "9.6.0"
|
||||
}
|
||||
|
||||
group 'eu.mhsl.minenet'
|
||||
@@ -11,58 +11,33 @@ version '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
}
|
||||
|
||||
maven {
|
||||
url "https://repo.unnamed.team/repository/unnamed-public/"
|
||||
}
|
||||
|
||||
maven {
|
||||
url 'https://oss.sonatype.org/content/repositories/snapshots'
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
languageVersion = JavaLanguageVersion.of(25)
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:6.1.2'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
|
||||
//https://jitpack.io/#Minestom/Minestom
|
||||
implementation 'net.minestom:minestom-snapshots:fd51c8d17a'
|
||||
//https://mvnrepository.com/artifact/net.minestom/minestom
|
||||
implementation 'net.minestom:minestom:2026.07.12-26.2'
|
||||
|
||||
//Tools
|
||||
implementation 'de.articdive:jnoise:3.0.2'
|
||||
implementation 'de.articdive:jnoise-pipeline:4.1.0'
|
||||
compileOnly 'it.unimi.dsi:fastutil:8.5.18' // von Minestom nur zur Laufzeit bereitgestellt, fuer BatchUtil-Reflection benoetigt
|
||||
implementation 'net.md-5:bungeecord-config:1.21-R0.3'
|
||||
implementation 'org.apache.commons:commons-text:1.10.0'
|
||||
implementation 'org.spongepowered:configurate-yaml:4.1.2'
|
||||
implementation 'org.apache.commons:commons-text:1.15.0'
|
||||
implementation 'org.spongepowered:configurate-yaml:4.2.0'
|
||||
implementation 'com.sparkjava:spark-core:2.9.4'
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
implementation 'com.google.guava:guava:32.0.1-android'
|
||||
|
||||
implementation 'com.google.code.gson:gson:2.14.0'
|
||||
implementation 'com.google.guava:guava:33.4.8-jre'
|
||||
|
||||
//PvP
|
||||
implementation 'io.github.TogAr2:MinestomPvP:PR62-SNAPSHOT'
|
||||
|
||||
// Hephaestus engine
|
||||
// implementation("team.unnamed:hephaestus-api:0.2.1-SNAPSHOT")
|
||||
// implementation("team.unnamed:hephaestus-reader-blockbench:0.2.1-SNAPSHOT")
|
||||
// implementation("team.unnamed:hephaestus-runtime-minestom:0.2.1-SNAPSHOT")
|
||||
implementation 'io.github.togar2:MinestomPvP:2026.05.30-26.1.1'
|
||||
}
|
||||
|
||||
tasks {
|
||||
@@ -71,8 +46,6 @@ tasks {
|
||||
attributes 'Main-Class': 'eu.mhsl.minenet.minigames.Main'
|
||||
attributes 'Multi-Release': true
|
||||
}
|
||||
duplicatesStrategy = 'exclude'
|
||||
from configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
|
||||
Reference in New Issue
Block a user