You need to provide the path to the input JSON file, containing problem description
Example launch:
-
macOS:
./gradlew run -PappArgs="['-i', 'PATH_TO_PROJECT_ROOT/src/main/resources/description_multilevel.json', '-o', 'artifacts']"
-
Windows:
.\gradlew run --args='-i PATH_TO_PROJECT_ROOT\src\main\resources\description_multilevel.json -o artifacts'
- Build the jar with core logic and all dependencies:
./gradlew shadowJar
- [Optional] build the jar with sources:
./gradlew sourcesJar
- Both jars are placed in build/libs folder. lingvo-dss-all.jar represents core logic with dependencies. While lingvo-dss-sources.jar contains sources of the library.
- Run the jar on the given description:
java -jar .\build\libs\lingvo-dss-all.jar -i .\src\main\resources\description_multilevel.json -o artifacts