From a0fa8ad730f15a7937a41ee89fbafccd98da6110 Mon Sep 17 00:00:00 2001 From: bjcul Date: Mon, 11 Jul 2022 18:09:35 -0400 Subject: Upgrade to java 17 --- dice/.classpath | 4 +++- dice/.settings/org.eclipse.jdt.core.prefs | 6 +++--- dice/pom.xml | 7 +++---- dice/src/main/java/module-info.java | 11 +++++++++++ 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 dice/src/main/java/module-info.java (limited to 'dice') diff --git a/dice/.classpath b/dice/.classpath index 7d66676..35b3cc1 100644 --- a/dice/.classpath +++ b/dice/.classpath @@ -14,14 +14,16 @@ - + + + diff --git a/dice/.settings/org.eclipse.jdt.core.prefs b/dice/.settings/org.eclipse.jdt.core.prefs index 2f5cc74..cf2cd45 100644 --- a/dice/.settings/org.eclipse.jdt.core.prefs +++ b/dice/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=17 diff --git a/dice/pom.xml b/dice/pom.xml index d1d4fec..af1d24b 100644 --- a/dice/pom.xml +++ b/dice/pom.xml @@ -7,7 +7,7 @@ bjc dicelang-parent - 1.0.0 + 2.0-SNAPSHOT dicelang-dice @@ -25,17 +25,16 @@ junit junit 4.13.1 - test bjc BJC-Utils2 - 1.0.0 + 2.0-SNAPSHOT io.github.bculkin2442 esodata - 1.0-SNAPSHOT + 2.0-SNAPSHOT diff --git a/dice/src/main/java/module-info.java b/dice/src/main/java/module-info.java new file mode 100644 index 0000000..74cc1b9 --- /dev/null +++ b/dice/src/main/java/module-info.java @@ -0,0 +1,11 @@ +module dicelang.dice { + exports bjc.dicelang.neodice; + exports bjc.dicelang.neodice.statements; + exports bjc.dicelang.dicev2; + exports bjc.dicelang.dice; + exports bjc.dicelang.neodice.commands; + + requires bjc.utils; + requires esodata; + requires junit; +} \ No newline at end of file -- cgit v1.2.3