Skip to content

Commit d5e45b6

Browse files
committed
Disable "disableRecompilation" in CI
Hadn't realised that a MDG version bump started enabling this in CI. Ughgr, wish people didn't change behaviour based on environment variables, makes it harder to test.
1 parent 4a6ec54 commit d5e45b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

buildSrc/src/main/kotlin/cc-tweaked.forge.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ val mcVersion: String by extra
1919

2020
legacyForge {
2121
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
22-
version = "$mcVersion-${libs.findVersion("forge").get()}"
22+
enable {
23+
forgeVersion = "$mcVersion-${libs.findVersion("forge").get()}"
24+
// This causes parameters to not be renamed, which causes issues with ErrorProne.
25+
// See https://github.com/google/error-prone/issues/5398.
26+
isDisableRecompilation = false
27+
}
2328

2429
parchment {
2530
minecraftVersion = libs.findVersion("parchmentMc").get().toString()

0 commit comments

Comments
 (0)