Classpath Example
Overview
How to use the loom.config classpath array to specify source folders to compile.
Try It
Use the following Loom CLI commands to run this example:
loom new MyClasspathExample --example ClasspathExample
cd MyClasspathExample
loom run
Screenshot
Code
loom.config
{
"sdk_version": "latest",
"classpath": [
"source",
"../ClasspathExample/relativesources"
],
"executable": "Main.loom",
"display": {
"width": 480,
"height": 320,
"title": "ClasspathExample",
"stats": true
},
"app_name": "ClasspathExample",
"app_id": "com.loomengine.ClasspathExample"
}