From 9143762c89702de02b8fc7e9b218bbd6156c305d Mon Sep 17 00:00:00 2001 From: Exlll Date: Fri, 3 Nov 2023 23:48:55 +0100 Subject: [PATCH] Update Gradle and dependencies --- buildSrc/build.gradle.kts | 2 +- .../src/main/kotlin/core-config.gradle.kts | 18 +++++++++--------- configlib-paper/build.gradle.kts | 4 ++-- configlib-velocity/build.gradle.kts | 6 +++--- configlib-waterfall/build.gradle.kts | 4 ++-- configlib-yaml/build.gradle.kts | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index c66850b..39bf8e0 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -9,4 +9,4 @@ repositories { dependencies { implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.2") -} \ No newline at end of file +} diff --git a/buildSrc/src/main/kotlin/core-config.gradle.kts b/buildSrc/src/main/kotlin/core-config.gradle.kts index 8cb562e..3d86ea6 100644 --- a/buildSrc/src/main/kotlin/core-config.gradle.kts +++ b/buildSrc/src/main/kotlin/core-config.gradle.kts @@ -23,13 +23,13 @@ repositories { } dependencies { - testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.9.0") - testFixturesApi("org.junit.jupiter:junit-jupiter-params:5.9.0") - testFixturesApi("org.junit.jupiter:junit-jupiter-engine:5.9.0") - testFixturesApi("org.junit.platform:junit-platform-runner:1.9.0") - testFixturesApi("org.junit.platform:junit-platform-suite-api:1.9.0") - testFixturesApi("org.mockito:mockito-inline:4.7.0") - testFixturesApi("org.mockito:mockito-junit-jupiter:4.7.0") + testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.10.0") + testFixturesApi("org.junit.jupiter:junit-jupiter-params:5.10.0") + testFixturesApi("org.junit.jupiter:junit-jupiter-engine:5.10.0") + testFixturesApi("org.junit.platform:junit-platform-runner:1.10.0") + testFixturesApi("org.junit.platform:junit-platform-suite-api:1.10.0") + testFixturesApi("org.mockito:mockito-inline:5.2.0") + testFixturesApi("org.mockito:mockito-junit-jupiter:5.6.0") testFixturesApi("org.hamcrest:hamcrest-all:1.3") testFixturesApi("com.google.jimfs:jimfs:1.3.0") } @@ -46,8 +46,8 @@ publishing { } } - val moduleId = project.name.split("-")[1].toLowerCase() - val publicationName = moduleId.capitalize() + val moduleId = project.name.split("-")[1].lowercase() + val publicationName = moduleId.replaceFirstChar(Char::titlecase) publications { register(publicationName) { diff --git a/configlib-paper/build.gradle.kts b/configlib-paper/build.gradle.kts index 5605818..b7e75b7 100644 --- a/configlib-paper/build.gradle.kts +++ b/configlib-paper/build.gradle.kts @@ -4,5 +4,5 @@ plugins { } dependencies { - compileOnly("io.papermc.paper:paper-api:1.19-R0.1-SNAPSHOT") -} \ No newline at end of file + compileOnly("io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT") +} diff --git a/configlib-velocity/build.gradle.kts b/configlib-velocity/build.gradle.kts index 18ae525..1a19522 100644 --- a/configlib-velocity/build.gradle.kts +++ b/configlib-velocity/build.gradle.kts @@ -4,6 +4,6 @@ plugins { } dependencies { - compileOnly("com.velocitypowered:velocity-api:3.0.1") - annotationProcessor("com.velocitypowered:velocity-api:3.0.1") -} \ No newline at end of file + compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") + annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") +} diff --git a/configlib-waterfall/build.gradle.kts b/configlib-waterfall/build.gradle.kts index 55698a6..7432df8 100644 --- a/configlib-waterfall/build.gradle.kts +++ b/configlib-waterfall/build.gradle.kts @@ -4,5 +4,5 @@ plugins { } dependencies { - compileOnly("io.github.waterfallmc:waterfall-api:1.19-R0.1-SNAPSHOT") -} \ No newline at end of file + compileOnly("io.github.waterfallmc:waterfall-api:1.20-R0.2-SNAPSHOT") +} diff --git a/configlib-yaml/build.gradle.kts b/configlib-yaml/build.gradle.kts index c70690f..4069ca0 100644 --- a/configlib-yaml/build.gradle.kts +++ b/configlib-yaml/build.gradle.kts @@ -4,5 +4,5 @@ plugins { } dependencies { - implementation("org.snakeyaml:snakeyaml-engine:2.3") -} \ No newline at end of file + implementation("org.snakeyaml:snakeyaml-engine:2.7") +} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2ec77e5..fce403e 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME 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 zipStorePath=wrapper/dists