Skip to content

Commit

Permalink
Force gradle to Java 8 until internal issues are resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann Bernhardt committed Nov 29, 2021
1 parent 735b916 commit ffe7b13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ idea {
}
}

if(JavaVersion.current() != JavaVersion.VERSION_1_8) {
throw new GradleException("This project requires Java 8, but it's running on " + JavaVersion.current())
}

checkPropertyExists("modName")
checkPropertyExists("modId")
checkPropertyExists("modGroup")
Expand Down

0 comments on commit ffe7b13

Please sign in to comment.