diff --git a/README.md b/README.md index 1996e1a..a7f34ed 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is a mirror of the *core* library from [Processing 4](https://github.com/pr It is hosted as a *Maven* dependency via [JitPack](https://jitpack.io/#micycle1/processing-core-4) (from this Github repository) so it can be referenced in your own *Maven* project (for when you want to use the Processing library outside of the Processing IDE). -This mirror is not necessarily up to date with the latest Processing 4 release; it is currently based on Processing [**4.5.0**](https://github.com/processing/processing4/releases/tag/processing-1311-4.5.0). +This mirror is not necessarily up to date with the latest Processing 4 release; it is currently based on Processing [**4.5.5**](https://github.com/processing/processing4/releases/tag/processing-1433-4.5.5). --- @@ -28,7 +28,7 @@ This mirror is not necessarily up to date with the latest Processing 4 release; com.github.micycle1 processing-core-4 - 4.5.0 + 4.5.5 ``` @@ -36,4 +36,17 @@ This mirror is not necessarily up to date with the latest Processing 4 release; Now you don't have to worry about adding core.jar, the JavaFX and JOGL & Gluegen dependencies to your project — this does it all! +## Usage in your Gradle project + +```kotlin +repositories { + mavenCentral() + maven { url = uri("https://jitpack.io") } +} + +dependencies { + implementation("com.github.micycle1:processing-core-4:4.5.5") +} +``` + Note: core version 4.1.1 and onwards require Java 17+; prior versions require Java 11+. diff --git a/pom.xml b/pom.xml index 892abc5..25c9649 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.processing core - 4.5.0 + 4.5.5 Processing Core micycle1_processing-core-4 @@ -188,28 +188,30 @@ - - - jogamp - jogamp - https://jogamp.org/deployment/maven/ - - org.openjfx javafx-controls 23.0.2 + org.jogamp.jogl jogl-all-main - 2.5.0 + 2.6.0 org.jogamp.gluegen gluegen-rt-main - 2.5.0 + 2.6.0 org.apache.xmlgraphics diff --git a/processing4 b/processing4 index 26c53c9..31b7b2c 160000 --- a/processing4 +++ b/processing4 @@ -1 +1 @@ -Subproject commit 26c53c9656957fbe684bfabbf1f3e54729a91993 +Subproject commit 31b7b2c79439995142e333ea6ee9c510fd237d83