diff --git a/build.gradle b/build.gradle index 2f9d1f87..3cfdd7c6 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ test { java { withSourcesJar() - sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17 } sourcesJar { @@ -157,9 +157,8 @@ tasks.register('curseforge', TaskPublishCurseForge) { mainFile.changelogType = "markdown" mainFile.releaseType = versiontype mainFile.addModLoader("Forge", "NeoForge", "Fabric") - mainFile.addJavaVersion("Java 21", "Java 17", "Java 11", "Java 8") - mainFile.addGameVersion("1.16.5", "1.18.2", "1.19.2", "1.20.1", "1.21.1", "client") - mainFile.addIncompatibility("fancyvideo-api") + mainFile.addJavaVersion("Java 21", "Java 17") + mainFile.addGameVersion("1.18.2", "1.19.2", "1.20.1", "1.21.1", "client") def sourcesFile = mainFile.withAdditionalFile(sourcesJar) sourcesFile.displayName = "$brandname/$version-sources" sourcesFile.changelog = ""