Migration of the `serial` library to Gradle by madhav2348 · Pull Request #1106 · processing/processing4

hi @Stefterv , taking your example as reference, I searched jssc in Maven repository for the serial library :

dependencies {
    compileOnly(project(":core"))
    implementation("org.scream3r:jssc:2.8.0")  
}

But it doesn't have the method getPortProperties()used in :

public static Map<String, String> getProperties(String portName) {
return SerialPortList.getPortProperties(portName);
}

Somehow I found this issue processing/processing@f0cc875

now gohai/java-simple-serial-connector is only a repo, but doesn't have any release or .jar file that I could use Jitpack
and also there is no previous release I could find in the original repo

the solution I thought is

  • use the jssc.jar in the library directory

or fork the repo and build/upload the .jar file in release

But I need your advice on this: if I'm doing it right!

Thankyou