Skip to content

Commit 1a15822

Browse files
committed
Fix sponge compile
1 parent 9545c32 commit 1a15822

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cloud-sponge/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ dependencies {
1111
implementation(libs.cloud.brigadier)
1212
implementation(project(":cloud-minecraft-modded-common", configuration = "namedElements"))
1313
compileOnly("org.spongepowered:spongeapi:11.0.0-SNAPSHOT")
14-
compileOnly("org.spongepowered:sponge:1.20.2-11.0.0-SNAPSHOT")
14+
compileOnly("org.spongepowered:sponge:1.20.4-11.0.0-SNAPSHOT")
1515
}
1616

1717
minecraft {
18-
version("1.20.2")
18+
version("1.20.4")
1919
platform(MinecraftPlatform.JOINED)
2020
}

examples/example-sponge/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ configurations {
4949
}
5050
}
5151
}
52+
53+
afterEvaluate {
54+
tasks.compileJava {
55+
// TODO - sponge AP not compatible with J21
56+
options.compilerArgs.remove("-Werror")
57+
}
58+
}

0 commit comments

Comments
 (0)