3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-07-31 03:18:03 +02:00
ViaVersion/bungee/build.gradle.kts
Mariell Hoversholm 458279d111
Fix (Bungee): Java 16 compatibility (#2433)
This has been tested on the following:
 - AdoptOpenJDK Java 1.8.0_282
 - GraalVM CE 21.0.0 OpenJDK 11.0.10
 - AdoptOpenJDK Java 15.0.2
 - AdoptOpenJDK Java 16 (also tested with BungeeCord b1556)
 - Amazon Corretto OpenJDK 16.0.0.36.1

... with Waterfall b406 on Linux 5.10.28.
2021-04-13 11:42:32 +02:00

12 Zeilen
357 B
Plaintext

dependencies {
implementation(project(":viaversion-common"))
implementation(project(":java-compat"))
compileOnly("net.md-5", "bungeecord-api", Versions.bungee)
}
configure<JavaPluginConvention> {
// This is necessary to allow compilation for Java 8 while still including
// newer Java versions in the code.
disableAutoTargetJvm()
}