summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUpcraftLP <[email protected]>2019-02-15 21:52:41 +0100
committerkeuin <[email protected]>2020-04-23 00:20:28 +0800
commit8125c64683f135304792e322697ec6807c083583 (patch)
treeb0eae0243e342b8eb2a73110296dd42aa8eb31d5
parent99c634782cadb8ff6b9ddacd4041599cded5bfd4 (diff)
use constants for source/target compatibility levels
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 88a48e5..a698bd7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,8 +2,8 @@ plugins {
id 'fabric-loom' version '0.2.0-SNAPSHOT'
}
-sourceCompatibility = 1.8
-targetCompatibility = 1.8
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
archivesBaseName = "modid"
version = "1.0.0"