Don't add Java 23/24 to CF publishing

This commit is contained in:
FlorianMichael 2024-12-06 17:04:44 +01:00
parent e139ba9cbb
commit 87bae1e2b2
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -188,7 +188,7 @@ processResources {
List<String> mcReleases = Arrays.stream(rootProject.publish_mc_versions.toString().split(","))
.map({ it -> it.trim() })
.collect(Collectors.toList())
List<String> javaVersions = IntStream.rangeClosed(8, 24)
List<String> javaVersions = IntStream.rangeClosed(8, 22)
.mapToObj { n -> (String) "Java $n" }
.collect(Collectors.toList())
String changelogMsg = "A changelog can be found at https://github.com/ViaVersion/ViaFabric/commits"