uncomment (#857)

* uncomment

* copy from altrisi's
This commit is contained in:
gnembon authored and GitHub committed 2021-05-12 20:08:06 -03:00
1 parent f5db84345e
commit 15bba80cb5
4 files changed
+14 -16

No files matched your search

+4 -4
View File
@@ -55,10 +55,10 @@ tasks.withType(JavaCompile).configureEach {
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
// We'll use that if it's available, but otherwise we'll use the older option.
//def targetVersion = 8
//if (JavaVersion.current().isJava9Compatible()) {
// it.options.release = targetVersion
//}
def targetVersion = 8
if (JavaVersion.current().isJava9Compatible()) {
it.options.release = targetVersion
}
// Minecraft 1.17 (21w19a) upwards uses Java 16.
//it.options.release = 16