Skip to content

Commit

Permalink
Add lambda marks for vineflower
Browse files Browse the repository at this point in the history
  • Loading branch information
kikugie committed Jun 13, 2024
1 parent db6b70d commit 0abe164
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,16 @@ dependencies {
modImplementation("net.fabricmc:fabric-loader:${deps["fabric_loader"]}")

modLocalRuntime("net.fabricmc.fabric-api:fabric-api:${deps["fabric_api"]}")
vineflowerDecompilerClasspath("org.vineflower:vineflower:1.10.1")
}

loom {
decompilers {
get("vineflower").apply { // Adds names to lambdas - useful for mixins
options.put("mark-corresponding-synthetics", "1")
}
}

runConfigs.all {
ideConfigGenerated(stonecutter.current.isActive)
vmArgs("-Dmixin.debug.export=true")
Expand Down

0 comments on commit 0abe164

Please sign in to comment.