From d467fc283ad6d1d97600a22094d7f3ed346744af Mon Sep 17 00:00:00 2001 From: twisti <76837088+twisti-dev@users.noreply.github.com> Date: Wed, 27 May 2026 22:14:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(build):=20update=20version?= =?UTF-8?q?=20to=202.0.7=20and=20relocate=20configurate=20dependency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - increment version from 2.0.6 to 2.0.7 in build.gradle.kts - relocate "org.spongepowered.configurate" to "configurate" in CommonSurfPlugin.kt --- surf-api-gradle-plugin/build.gradle.kts | 2 +- .../slne/surf/api/gradle/platform/common/CommonSurfPlugin.kt | 4 ++++ .../dev/slne/surf/api/gradle/platform/core/CoreSurfPlugin.kt | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/surf-api-gradle-plugin/build.gradle.kts b/surf-api-gradle-plugin/build.gradle.kts index d2ba2753d..625d90cba 100644 --- a/surf-api-gradle-plugin/build.gradle.kts +++ b/surf-api-gradle-plugin/build.gradle.kts @@ -20,7 +20,7 @@ plugins { group = groupId version = buildString { - append("2.0.6") + append("2.0.7") if (snapshot) append("-SNAPSHOT") } diff --git a/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/common/CommonSurfPlugin.kt b/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/common/CommonSurfPlugin.kt index b6a8bcdad..b96e0a6a9 100644 --- a/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/common/CommonSurfPlugin.kt +++ b/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/common/CommonSurfPlugin.kt @@ -38,6 +38,10 @@ abstract class CommonSurfPlugin( private val relocations = mutableMapOf() private val dependencyDependentRelocations = mutableMapOf>() + init { + "org.spongepowered.configurate" relocatesTo "configurate" + } + protected abstract val extensionClass: Class override fun apply(target: Project) = with(target) { diff --git a/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/core/CoreSurfPlugin.kt b/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/core/CoreSurfPlugin.kt index 9f924f719..289d294d9 100644 --- a/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/core/CoreSurfPlugin.kt +++ b/surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/core/CoreSurfPlugin.kt @@ -11,7 +11,6 @@ internal abstract class AbstractCoreSurfPlugin( "com.mojang.serialization" relocatesTo "mojang.serialization" "com.mojang.datafixers" relocatesTo "mojang.datafixers" "net.kyori.adventure.nbt" relocatesTo "kyori.nbt" - "org.spongepowered.configurate" relocatesTo "configurate" } final override fun Project.afterEvaluated0(extension: E) {