A minimal Gradle project that consumes LazyGui straight from Maven Central and runs one of its example sketches.
- Depends on
io.github.krabcode:lazyguifrom Maven Central — no local jar - Runs the
GeneralOverviewexample as a plain JavaPApplet - Confirms LazyGui (compiled against Processing 3.3.7) runs fine on Processing 4.x
repositories { mavenCentral() }
dependencies {
implementation 'io.github.krabcode:lazygui:latest.release'
implementation 'org.processing:core:4.5.5'
}./gradlew run # Windows: gradlew.bat runAn 1200×800 window opens with a shape you can drag, rotate, recolour and switch between rectangle/ellipse — all driven by the LazyGui tree.
Processing 4.5.5 pulls JOGL 2.6.0, whose Maven native jars ship the DLLs but omit
the per-module TAG marker classes JOGL's jar-cache loader needs. That causes an
UnsatisfiedLinkError (JAWT_GetAWT1) when running P2D outside the PDE. build.gradle
works around it by extracting the DLLs and loading them via java.library.path with
the temp-jar-cache disabled. This workaround is currently Windows-only (natives-windows, .dll);
other platforms would need the matching classifier and library extension.