diff options
| author | bjcul <bjcul@192.168.1.26> | 2022-07-11 18:07:56 -0400 |
|---|---|---|
| committer | bjcul <bjcul@192.168.1.26> | 2022-07-11 18:07:56 -0400 |
| commit | 06d8140970661c3b05adedd76f3e09a131d9bee0 (patch) | |
| tree | efbb185ca916ba4fa833c010dba2d69ef5956195 | |
| parent | dcec1afd0c8cbfdc384252b3a6b2b1942d91a8ca (diff) | |
Upgrade to Java 17
| -rw-r--r-- | base/.classpath | 2 | ||||
| -rw-r--r-- | base/.settings/org.eclipse.jdt.core.prefs | 6 | ||||
| -rw-r--r-- | base/pom.xml | 8 | ||||
| -rw-r--r-- | base/src/main/java/module-info.java | 34 | ||||
| -rw-r--r-- | clformat/.classpath | 2 | ||||
| -rw-r--r-- | clformat/.settings/org.eclipse.jdt.core.prefs | 6 | ||||
| -rw-r--r-- | clformat/pom.xml | 12 | ||||
| -rw-r--r-- | clformat/src/main/java/module-info.java | 9 | ||||
| -rw-r--r-- | commander/.classpath | 4 | ||||
| -rw-r--r-- | commander/.settings/org.eclipse.jdt.core.prefs | 6 | ||||
| -rw-r--r-- | commander/pom.xml | 4 | ||||
| -rw-r--r-- | commander/src/main/java/module-info.java | 6 | ||||
| -rw-r--r-- | pom.xml | 6 |
13 files changed, 78 insertions, 27 deletions
diff --git a/base/.classpath b/base/.classpath index 673da3f..a1c34bd 100644 --- a/base/.classpath +++ b/base/.classpath @@ -24,7 +24,7 @@ <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> diff --git a/base/.settings/org.eclipse.jdt.core.prefs b/base/.settings/org.eclipse.jdt.core.prefs index 39e9a95..de5c7e4 100644 --- a/base/.settings/org.eclipse.jdt.core.prefs +++ b/base/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -13,4 +13,4 @@ org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 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/base/pom.xml b/base/pom.xml index 664748a..f23ff4f 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -6,7 +6,7 @@ <parent> <groupId>bjc</groupId> <artifactId>BJCUtils-Parent</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> </parent> <build> @@ -68,8 +68,8 @@ <version>3.7.0</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>1.17</source> + <target>1.17</target> </configuration> </plugin> </plugins> @@ -149,7 +149,7 @@ <dependency> <groupId>io.github.bculkin2442</groupId> <artifactId>esodata</artifactId> - <version>1.0-SNAPSHOT</version> + <version>2.0-SNAPSHOT</version> </dependency> </dependencies> </project> diff --git a/base/src/main/java/module-info.java b/base/src/main/java/module-info.java new file mode 100644 index 0000000..188046b --- /dev/null +++ b/base/src/main/java/module-info.java @@ -0,0 +1,34 @@ +module bjc.utils { + exports bjc.utils.exceptions; + exports bjc.utils.funcutils; + exports bjc.utils.parserutils.splitter; + exports bjc.utils.ioutils; + exports bjc.utils.examples; + exports bjc.utils.misc; + exports bjc.utils.parserutils.delims; + exports bjc.utils.gen; + exports bjc.utils.patterns; + exports bjc.utils.components; + exports bjc.utils.cli; + exports bjc.utils.gui.awt; + exports bjc.utils.gui.layout; + exports bjc.utils.examples.gen; + exports bjc.utils.math; + exports bjc.utils.gui; + exports bjc.utils.parserutils; + exports bjc.utils.ioutils.blocks; + exports bjc.utils.parserutils.defines; + exports bjc.utils.graph; + exports bjc.utils.cli.objects; + exports bjc.utils.gui.panels; + exports bjc.utils.ioutils.properties; + + requires commons.lang3; + requires esodata; + requires guava; + requires hamcrest.core; + requires icu4j; + requires java.desktop; + requires java.logging; + requires junit; +}
\ No newline at end of file diff --git a/clformat/.classpath b/clformat/.classpath index 2efb9ee..9dab56c 100644 --- a/clformat/.classpath +++ b/clformat/.classpath @@ -18,7 +18,7 @@ <attribute name="test" value="true"/> </attributes> </classpathentry> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> diff --git a/clformat/.settings/org.eclipse.jdt.core.prefs b/clformat/.settings/org.eclipse.jdt.core.prefs index 2529c98..74568b3 100644 --- a/clformat/.settings/org.eclipse.jdt.core.prefs +++ b/clformat/.settings/org.eclipse.jdt.core.prefs @@ -8,8 +8,8 @@ org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable org.eclipse.jdt.core.compiler.annotation.nullable.secondary= org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -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.APILeak=warning org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning @@ -106,4 +106,4 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=info org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 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/clformat/pom.xml b/clformat/pom.xml index 4283850..5244694 100644 --- a/clformat/pom.xml +++ b/clformat/pom.xml @@ -6,7 +6,7 @@ <parent> <artifactId>BJCUtils-Parent</artifactId> <groupId>bjc</groupId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> </parent> <artifactId>clformat</artifactId> @@ -28,17 +28,17 @@ <dependency> <groupId>bjc</groupId> <artifactId>BJC-Utils2</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>bjc</groupId> <artifactId>inflexion</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>io.github.bculkin2442</groupId> <artifactId>esodata</artifactId> - <version>1.0-SNAPSHOT</version> + <version>2.0-SNAPSHOT</version> </dependency> </dependencies> <build> @@ -57,8 +57,8 @@ <version>3.7.0</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>1.17</source> + <target>1.17</target> </configuration> </plugin> <plugin> diff --git a/clformat/src/main/java/module-info.java b/clformat/src/main/java/module-info.java new file mode 100644 index 0000000..286a26c --- /dev/null +++ b/clformat/src/main/java/module-info.java @@ -0,0 +1,9 @@ +module clformat { + exports bjc.utils.ioutils.format.directives; + exports bjc.utils.ioutils.format; + exports bjc.utils.ioutils.format.exceptions; + + requires bjc.utils; + requires esodata; + requires inflexion; +}
\ No newline at end of file diff --git a/commander/.classpath b/commander/.classpath index 7d66676..35b3cc1 100644 --- a/commander/.classpath +++ b/commander/.classpath @@ -14,14 +14,16 @@ </attributes> </classpathentry> <classpathentry kind="src" path="src/example/java"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"> <attributes> <attribute name="maven.pomderived" value="true"/> + <attribute name="module" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="maven.pomderived" value="true"/> + <attribute name="module" value="true"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> diff --git a/commander/.settings/org.eclipse.jdt.core.prefs b/commander/.settings/org.eclipse.jdt.core.prefs index 2f5cc74..cf2cd45 100644 --- a/commander/.settings/org.eclipse.jdt.core.prefs +++ b/commander/.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/commander/pom.xml b/commander/pom.xml index eaba4a6..c764012 100644 --- a/commander/pom.xml +++ b/commander/pom.xml @@ -6,7 +6,7 @@ <parent> <groupId>bjc</groupId> <artifactId>BJCUtils-Parent</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> </parent> <artifactId>commander</artifactId> @@ -28,7 +28,7 @@ <dependency> <groupId>bjc</groupId> <artifactId>BJC-Utils2</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> <type>jar</type> </dependency> </dependencies> diff --git a/commander/src/main/java/module-info.java b/commander/src/main/java/module-info.java new file mode 100644 index 0000000..258d184 --- /dev/null +++ b/commander/src/main/java/module-info.java @@ -0,0 +1,6 @@ +module commander { + exports bjc.commander; + + requires bjc.utils; + requires java.logging; +}
\ No newline at end of file @@ -4,7 +4,7 @@ <groupId>bjc</groupId> <artifactId>BJCUtils-Parent</artifactId> - <version>1.0.0</version> + <version>2.0-SNAPSHOT</version> <packaging>pom</packaging> <build> @@ -14,8 +14,8 @@ <version>3.7.0</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>1.17</source> + <target>1.17</target> </configuration> </plugin> </plugins> |
