mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Bump Gradle wrapper to 8.5
This commit is contained in:
4 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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<FileCollection>
|
||||
configurations = listOf(shade)
|
||||
relocateDependency("cloud.commandframework.minecraft.extras")
|
||||
standardRuntimeRelocations()
|
||||
relocateGuice()
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user