Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

---

Expand All @@ -28,12 +28,25 @@ This mirror is not necessarily up to date with the latest Processing 4 release;
<dependency>
<groupId>com.github.micycle1</groupId>
<artifactId>processing-core-4</artifactId>
<version>4.5.0</version>
<version>4.5.5</version>
</dependency>
```

### **That's it!**

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+.
22 changes: 12 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.processing</groupId>
<artifactId>core</artifactId>
<version>4.5.0</version>
<version>4.5.5</version>
<name>Processing Core</name>
<properties>
<sonar.projectKey>micycle1_processing-core-4</sonar.projectKey>
Expand Down Expand Up @@ -188,28 +188,30 @@
</build>
</profile>
</profiles>
<repositories>
<repository>
<name>jogamp</name>
<id>jogamp</id>
<url>https://jogamp.org/deployment/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>23.0.2</version>
</dependency>
<!--
JOGL/GlueGen 2.6.0 is published on Maven Central, so no custom
repository is required. The "-main" artifacts transitively pull in
the platform native jars (natives-windows-amd64, natives-linux-amd64,
natives-macosx-universal, ...) which carry the runtime libraries such
as nativewindow_awt. Keeping everything on Maven Central means Gradle
consumers (which ignore <repositories> declared in a dependency POM)
can resolve both the Java and native artifacts. See issues #12 and #13.
-->
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
Expand Down
2 changes: 1 addition & 1 deletion processing4
Submodule processing4 updated 101 files
Loading