|
@@ -1,10 +1,10 @@
|
|
|
plugins {
|
|
|
- id 'fabric-loom' version '0.6-SNAPSHOT'
|
|
|
+ id 'fabric-loom' version '0.8-SNAPSHOT'
|
|
|
id "io.freefair.lombok" version "5.3.3.3"
|
|
|
}
|
|
|
|
|
|
-sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
-targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
+sourceCompatibility = JavaVersion.VERSION_16
|
|
|
+targetCompatibility = JavaVersion.VERSION_16
|
|
|
|
|
|
archivesBaseName = project.archives_base_name
|
|
|
version = project.mod_version
|
|
@@ -30,6 +30,8 @@ tasks.withType(JavaCompile).configureEach {
|
|
|
// this fixes some edge cases with special characters not displaying correctly
|
|
|
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
|
|
|
it.options.encoding = "UTF-8"
|
|
|
+
|
|
|
+ it.options.release = 16
|
|
|
}
|
|
|
|
|
|
jar {
|