OPENRNDR Gradle template
A bare-bones template for writing OPENRNDR programs. Contains Gradle project files and a minimal program example.
- Click the
runwidget next to
main()in the left margin/gutter of the source file.
runruns the template program (with the correct JVM arguments)
jarcreates an überjar that contains the program and all its dependencies
The jar file contains both the OO and FP template examples. However, typically you would only have either one of these in your project and jar file.
Command line instructions line for this example:
- For TemplateProgram.kt
java -jar myjar.jar OR java -cp myjar.jar TemplateProgramKt
-XstartOnFirstThread to JVM arguments (at Run/Edit Configurations/VM Options if you're using IntelliJ Idea)