A minmal Java library which provides a convenient way to parse command line parameters (for Java 8 and later).
MJL Options is a Java implementation of the sane-argv specification.
A complete build expects multiple JDK installations set up as follows:
- JDK 1.8 (used to compile the basic library)
- JDK 9 (used to compile the module descriptor)
- JDK 13 (used to generate the JavaDoc)
These JDKs must be made visible to the build process by setting up environment variables (or Gradle properties) for each JDK version as follows:
JAVA_HOME="path to JDK 1.8"
JDK_8="path to JDK 1.8"
JDK_9="path to JDK 9"
JDK_13="path to JDK 13"
Once the setup is complete, invoke the respective Gradle tasks using the following command on Unix/macOS:
./gradlew <tasks>
or the following command on Windows:
gradlew <tasks>
Important Gradle tasks to remember are:
clean
- clean build resultsbuild
- assemble and test the Java librarypublishToMavenLocal
- build and install all public artifacts to the local maven repository
Additionally tasks
may be used to print a list of all available tasks.
Copyright 2018-2020 Leon Linhart
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.