Skip to content

Commit

Permalink
move to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
SrRapero720 committed Sep 8, 2024
1 parent ef09f99 commit b679bf4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test {

java {
withSourcesJar()
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
}

sourcesJar {
Expand Down Expand Up @@ -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 = ""
Expand Down

0 comments on commit b679bf4

Please sign in to comment.