From b4242bc89246e390fd6728974b58dcd9c2fd4307 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Thu, 11 Sep 2025 11:49:41 +0200 Subject: [PATCH 1/3] Upgrade to Kotlin 2.2.20 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5a37ace..3cbcd3e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin = "2.2.10" +kotlin = "2.2.20" openrndr = "0.4.5" orx = "0.4.5" orsl = "0.4.5-alpha5" From 2e760f9c530ce40a41ee9a1b8933988e470321d3 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Thu, 11 Sep 2025 13:10:29 +0200 Subject: [PATCH 2/3] Add link to wiki --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6eb172b..63c31f4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirs - `./gradlew jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only). Run it like this: `cd build/jpackage/openrndr-application/ && bin/openrndr-application`. - `./gradlew dependencyUpydates` checks whether any dependencies have newer versions. +## Tips and issues + +See the [wiki](https://github.com/openrndr/openrndr-template/wiki) + ## Cross builds To create a runnable jar for a platform different from your current platform, use `./gradlew jar -PtargetPlatform=`, where `` is either `windows`, `macos`, `linux-x64`, or `linux-arm64`. From e97ef57b788e45fb529951d4aa8fffeb3f256e65 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Sat, 13 Sep 2025 09:30:03 +0200 Subject: [PATCH 3/3] Update README.md: change Java requirement 14 -> 17 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63c31f4..ed79682 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirs - `./gradlew run -Popenrndr.application=MyProgramKt` runs `src/main/kotlin/myProgram.kt` - `./gradlew run -Popenrndr.application=foo.bar.MyProgramKt` runs `src/main/kotlin/foo/bar/myProgram.kt` (assuming `package foo.bar` is used in myProgram.kt) - `./gradlew shadowJar` creates an executable platform specific jar file with all dependencies. Run the resulting program by typing `java -jar build/libs/openrndr-template-1.0.0-all.jar` in a terminal from the project root. If your project contains multiple `main` methods, specify which one to run with `java -cp build/libs/openrndr-template-1.0.0-all.jar MyProgramKt`, where `MyProgramKt` can also be `foo.bar.MyProgramKt` if it's in the package `foo.bar`. - - `./gradlew jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only). Run it like this: `cd build/jpackage/openrndr-application/ && bin/openrndr-application`. + - `./gradlew jpackageZip` creates a zip with a stand-alone executable for the current platform (requires Java 17 or newer). Run it like this: `cd build/jpackage/openrndr-application/ && bin/openrndr-application`. - `./gradlew dependencyUpydates` checks whether any dependencies have newer versions. ## Tips and issues