diff --git a/build-logic/src/main/kotlin/carbon.configurable-plugins.gradle.kts b/build-logic/src/main/kotlin/carbon.configurable-plugins.gradle.kts index df9e98ed..d69b7f0e 100644 --- a/build-logic/src/main/kotlin/carbon.configurable-plugins.gradle.kts +++ b/build-logic/src/main/kotlin/carbon.configurable-plugins.gradle.kts @@ -3,10 +3,10 @@ import org.spongepowered.configurate.yaml.NodeStyle import org.spongepowered.configurate.yaml.YamlConfigurationLoader import xyz.jpenilla.runtask.task.RunWithPlugins -val ext = extensions.create("configurablePlugins", ConfigurablePluginsExt::class.java) +val pluginsExt = extensions.create("configurablePlugins", ConfigurablePluginsExt::class.java) afterEvaluate { - val configs = ext.gradleDependencyBased.get().map { entry -> + val configs = pluginsExt.gradleDependencyBased.get().map { entry -> val c = configurations.register(entry.name + "Plugin") { isTransitive = false } @@ -49,7 +49,7 @@ fun readConfig(): Config { val n = loader.load() val c = n.get(Config::class.java) as Config var write = false - for (e in ext.gradleDependencyBased.get()) { + for (e in pluginsExt.gradleDependencyBased.get()) { if (!c.defaults.containsKey(e.name)) { write = true c.defaults[e.name] = e.defaultEnabled diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index 6b4ec393..1cb3fd6d 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -5,10 +5,10 @@ plugins { id("quiet-fabric-loom") } -val carbon: Configuration by configurations.creating +val shade: Configuration by configurations.creating configurations.implementation { - extendsFrom(carbon) + extendsFrom(shade) } dependencies { @@ -18,7 +18,7 @@ dependencies { modImplementation(libs.fabricApi) modImplementation(libs.fabricApiDeprecated) // LuckPerms needs to work at dev time - carbon(projects.carbonchatCommon) { + shade(projects.carbonchatCommon) { exclude("net.kyori", "adventure-api") exclude("net.kyori", "adventure-text-serializer-gson") exclude("net.kyori", "adventure-text-serializer-plain") @@ -54,7 +54,7 @@ carbonPlatform { tasks { shadowJar { - configurations = arrayListOf(carbon) as List + configurations = listOf(shade) relocateDependency("cloud.commandframework.minecraft.extras") standardRuntimeRelocations() relocateGuice() diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7f93135c..d64cd491 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3fa8f862..1af9e093 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME