From bf9efc708fc73ae530a5aba7a8fff8553b1d16c9 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Mon, 1 Mar 2021 21:30:24 +0800 Subject: [PATCH] Update plugins --- build.gradle | 4 ++-- fabric/build.gradle | 8 ++++---- forge/build.gradle | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 31979dfd..cab645b8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { - id "architectury-plugin" version "3.0.89" - id "forgified-fabric-loom" version "0.6.71" apply false + id "architectury-plugin" version "3.0.91" + id "forgified-fabric-loom" version "0.6.72" apply false id "org.cadixdev.licenser" version "0.5.0" id "com.matthewprenger.cursegradle" version "1.4.0" apply false id "maven-publish" diff --git a/fabric/build.gradle b/fabric/build.gradle index 48e4e110..05cc5d2e 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -8,7 +8,7 @@ loom { } configurations { - shadow + shadowCommon dev } @@ -28,7 +28,7 @@ dependencies { modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}" modCompileOnly "io.github.prospector:modmenu:${rootProject.mod_menu_version}" implementation "net.jodah:typetools:0.6.2" - shadow "net.jodah:typetools:0.6.2" + shadowCommon "net.jodah:typetools:0.6.2" implementation(project(path: ":common")) { transitive = false @@ -36,7 +36,7 @@ dependencies { developmentFabric(project(path: ":common")) { transitive = false } - shadow(project(path: ":common", configuration: "transformProductionFabric")) { + shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive = false } } @@ -50,7 +50,7 @@ processResources { shadowJar { relocate "net.jodah.typetools", "me.shedaniel.architectury.shadowed.impl.net.jodah.typetools" - configurations = [project.configurations.shadow] + configurations = [project.configurations.shadowCommon] classifier "shadow" } diff --git a/forge/build.gradle b/forge/build.gradle index a09ce537..3e5f3f88 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -8,7 +8,7 @@ loom { } configurations { - shadow + shadowCommon dev } @@ -26,7 +26,7 @@ dependencies { mappings loom.officialMojangMappings() forge "net.minecraftforge:forge:${rootProject.architectury.minecraft}-${rootProject.forge_version}" implementation "net.jodah:typetools:0.6.2" - shadow "net.jodah:typetools:0.6.2" + shadowCommon "net.jodah:typetools:0.6.2" implementation(project(path: ":common")) { transitive = false @@ -34,7 +34,7 @@ dependencies { developmentForge(project(path: ":common")) { transitive = false } - shadow(project(path: ":common", configuration: "transformProductionForge")) { + shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false } } @@ -51,7 +51,7 @@ shadowJar { exclude "fabric.mod.json" exclude "architectury-common.accessWidener" - configurations = [project.configurations.shadow] + configurations = [project.configurations.shadowCommon] classifier "shadow" }