JiJ Package reflect to allow overwriting Via jars when IF is installed

This commit is contained in:
FlorianMichael 2023-09-28 22:52:34 +02:00
parent 3656c3f4e5
commit 0dd805459a
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
2 changed files with 8 additions and 5 deletions

View File

@ -9,6 +9,9 @@ group = project.maven_group
configurations {
api.extendsFrom library
include.extendsFrom jij
implementation.extendsFrom jij
}
allprojects {
@ -54,9 +57,6 @@ dependencies {
modApi "com.terraformersmc:modmenu:${project.mod_menu_version}"
library "de.florianmichael:Classic4J:${project.classic4j_version}"
library ("net.raphimc:ViaLoader:${project.vialoader_version}") {
exclude group: "org.slf4j", module: "slf4j-api"
}
library "com.viaversion:viaversion:${project.viaversion_version}"
library ("com.viaversion:viabackwards-common:${project.viabackwards_version}") {
@ -65,6 +65,9 @@ dependencies {
exclude group: "com.google.guava", module: "guava"
}
library ("net.raphimc:ViaLoader:${project.vialoader_version}") {
exclude group: "org.slf4j", module: "slf4j-api"
}
library ("net.raphimc:ViaLegacy:${project.vialegacy_version}") {
exclude group: "com.google.code.gson", module: "gson"
}
@ -86,7 +89,7 @@ dependencies {
exclude group: "io.netty", module: "netty-transport"
}
library "net.lenni0451:Reflect:${project.reflect_version}"
jij "net.lenni0451:Reflect:${project.reflect_version}"
include implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${project.mixin_extras_version}"))
}

View File

@ -31,7 +31,7 @@ viabedrock_version=0.0.3-SNAPSHOT
minecraftauth_version=2.1.6-SNAPSHOT
# lenni0451 libs
reflect_version=1.2.2
reflect_version=1.2.4
# other libs
mod_menu_version=8.0.0