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) {