processing/processing4

migrate custom `jssc` dependency to maintainable source used in `serial` library

Open

#1.194 geöffnet am 30. Juli 2025

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (176 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (439 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Problem

While trying to modernize the dependency and migrate it to a Gradle-based setup, this approach as reference:

dependencies {
    compileOnly(project(":core"))
    implementation("io.github.java-native:jssc:2.10.2")  
}

this invoke error methods getPortProperties() that aren't present in java-native/jssc or any other published versions.

because currently, the processing4/java/libraries/serial library depends on a customized version of jssc that is not available on Maven Central or Jitpack . It is documented as a modified version of gohai/java-simple-serial-connector and sampottinger/jssc,

currently migration pull request lives under library/jssc.jar file and is custom-built, and it's a hurdle to issue #1099

Solution

  • Create a downstream fork under the foundation org to maintain and publish the custom JAR

  • Or incorporate the needed source directly into the repo

Per @Stefterv suggestion, I’m opening this issue to track the long-term resolution of this dependency problem

Contributor Guide