Target java release 8 for compilation

This commit is contained in:
PiggyPiglet 2024-07-04 17:46:04 +08:00
parent c66806ecf8
commit 98082398fc
No known key found for this signature in database
GPG Key ID: A72C64D3A21D0C06

View File

@ -71,6 +71,7 @@ tasks {
withType<JavaCompile> { withType<JavaCompile> {
options.encoding = "UTF-8" options.encoding = "UTF-8"
options.release = 8
} }
withType<Javadoc> { withType<Javadoc> {