Update Gradle and dependencies

dev
Exlll 1 year ago
parent dc010a01f1
commit 9143762c89

@ -23,13 +23,13 @@ repositories {
} }
dependencies { dependencies {
testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.9.0") testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.10.0")
testFixturesApi("org.junit.jupiter:junit-jupiter-params:5.9.0") testFixturesApi("org.junit.jupiter:junit-jupiter-params:5.10.0")
testFixturesApi("org.junit.jupiter:junit-jupiter-engine:5.9.0") testFixturesApi("org.junit.jupiter:junit-jupiter-engine:5.10.0")
testFixturesApi("org.junit.platform:junit-platform-runner:1.9.0") testFixturesApi("org.junit.platform:junit-platform-runner:1.10.0")
testFixturesApi("org.junit.platform:junit-platform-suite-api:1.9.0") testFixturesApi("org.junit.platform:junit-platform-suite-api:1.10.0")
testFixturesApi("org.mockito:mockito-inline:4.7.0") testFixturesApi("org.mockito:mockito-inline:5.2.0")
testFixturesApi("org.mockito:mockito-junit-jupiter:4.7.0") testFixturesApi("org.mockito:mockito-junit-jupiter:5.6.0")
testFixturesApi("org.hamcrest:hamcrest-all:1.3") testFixturesApi("org.hamcrest:hamcrest-all:1.3")
testFixturesApi("com.google.jimfs:jimfs:1.3.0") testFixturesApi("com.google.jimfs:jimfs:1.3.0")
} }
@ -46,8 +46,8 @@ publishing {
} }
} }
val moduleId = project.name.split("-")[1].toLowerCase() val moduleId = project.name.split("-")[1].lowercase()
val publicationName = moduleId.capitalize() val publicationName = moduleId.replaceFirstChar(Char::titlecase)
publications { publications {
register<MavenPublication>(publicationName) { register<MavenPublication>(publicationName) {

@ -4,5 +4,5 @@ plugins {
} }
dependencies { dependencies {
compileOnly("io.papermc.paper:paper-api:1.19-R0.1-SNAPSHOT") compileOnly("io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT")
} }

@ -4,6 +4,6 @@ plugins {
} }
dependencies { dependencies {
compileOnly("com.velocitypowered:velocity-api:3.0.1") compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.0.1") annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
} }

@ -4,5 +4,5 @@ plugins {
} }
dependencies { dependencies {
compileOnly("io.github.waterfallmc:waterfall-api:1.19-R0.1-SNAPSHOT") compileOnly("io.github.waterfallmc:waterfall-api:1.20-R0.2-SNAPSHOT")
} }

@ -4,5 +4,5 @@ plugins {
} }
dependencies { dependencies {
implementation("org.snakeyaml:snakeyaml-engine:2.3") implementation("org.snakeyaml:snakeyaml-engine:2.7")
} }

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

Loading…
Cancel
Save