Skip to content

Commit

Permalink
Fix CurseForge JavaVersion for Java 1.8 (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
hashalite authored Feb 5, 2024
2 parents bb927fb + 25a8e2e commit f6811e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ subprojects {
versionType = rootProject.release_type
curseEnvironment = "client"
loaders = [ project.name ]
javaVersions = ["Java ${project.java.targetCompatibility}"]
javaVersions = ["Java ${project.java.targetCompatibility.getMajorVersion()}"]

// Get the changelog entry using the changelog plugin
changelog = provider {
Expand Down

0 comments on commit f6811e6

Please sign in to comment.