Update plugins

This commit is contained in:
shedaniel
2021-03-01 21:30:24 +08:00
parent 89ce4c7c58
commit bf9efc708f
3 changed files with 10 additions and 10 deletions

View File

@@ -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"

View File

@@ -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"
}

View File

@@ -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"
}