Skip to content

Commit

Permalink
Upgrade Log4J version used by AT tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Jan 24, 2024
1 parent dfbdf26 commit fcd0701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gradle/runtime.libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ access-transformers-new = "8.0.5"
unprotect = "1.2.0"
asm = "9.3"
union-relauncher = "1.0.0"
access-transformers-log4j = "2.17.1"

[libraries]
# Decompilers
Expand All @@ -43,3 +44,4 @@ access-transformers-new = { module = "net.minecraftforge:accesstransformers", ve
unprotect = { module = "io.github.juuxel:unprotect", version.ref = "unprotect" }
asm = { module = "org.ow2.asm:asm", version.ref = "asm" }
union-relauncher = { module = "io.github.juuxel:union-relauncher", version.ref = "union-relauncher" }
access-transformers-log4j-bom = { module = "org.apache.logging.log4j:log4j-bom", version.ref = "access-transformers-log4j" }
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public static void executeAt(Project project, Path input, Path output, AccessTra
FileCollection classpath = new DependencyDownloader(project)
.add((serverBundleMetadataPresent ? LoomVersions.ACCESS_TRANSFORMERS_NEW : LoomVersions.ACCESS_TRANSFORMERS).mavenNotation())
.add(LoomVersions.ASM.mavenNotation())
.platform(LoomVersions.ACCESS_TRANSFORMERS_LOG4J_BOM.mavenNotation())
.download();
List<String> args = new ArrayList<>();
args.add("--inJar");
Expand Down

0 comments on commit fcd0701

Please sign in to comment.