Add missing typetools for forge

This commit is contained in:
shedaniel
2020-11-15 21:32:11 +08:00
parent f0f94b99fc
commit 55b3ceb925

View File

@@ -51,6 +51,8 @@ configurations {
dependencies {
minecraft("net.minecraftforge:forge:${rootProject.architect.minecraft}-${rootProject.forge_version}")
implementation "net.jodah:typetools:0.6.2"
shadow "net.jodah:typetools:0.6.2"
compile(project(path: ":common", configuration: "mcpGenerateMod")) {
transitive = false
@@ -61,6 +63,7 @@ dependencies {
}
shadowJar {
relocate "net.jodah.typetools", "me.shedaniel.architectury.shadowed.impl.net.jodah.typetools"
exclude "fabric.mod.json"
configurations = [project.configurations.shadow]
@@ -71,6 +74,8 @@ reobf {
shadowJar {}
}
build.dependsOn(shadowJar)
publishing {
publications {
mavenForge(MavenPublication) {