| 
				
					
						 | 
			6 years ago | |
|---|---|---|
| data | 6 years ago | |
| gradle/wrapper | 6 years ago | |
| src/main | 6 years ago | |
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| build.gradle.kts | 6 years ago | |
| gradle.properties | 6 years ago | |
| gradlew | 6 years ago | |
| gradlew.bat | 6 years ago | |
| settings.gradle | 6 years ago | |
		
			
				
				README.md
			
		
		
	
	OPENRNDR template project
A feature rich template for creating OPENRNDR programs based on Gradle/Kts
The template consists of a configuration for Gradle and an example OPENRNDR program. The Gradle configuration should serve as the go-to starting point for writing OPENRNDR-based software.
If you are looking at this from IntelliJ IDEA you can start by expanding the project tab on the left. You will find a template program in src/main/kotlin/TemplateProgram.kt
You will find some basic instructions in the OPENRNDR guide
Gradle tasks
runruns the TemplateProgramjarcreates an executable platform specific jar file with all dependencieszipDistributioncreates a zip file containing the application jar and the data folder
Cross builds
To create runnable jars for a platform different from the platform you use to build one uses ./gradlew jar --PtargetPlatform=<platform>. The supported platforms are windows, macos, linux-x64 and linux-arm64. Note that the linux-arm64 platform will only work with OPENRNDR snapshot builds from master and OPENRNDR 0.3.39 (a future version).