Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.31k stars 448 forks source link

Published artifacts have class file version incompatible with JDK 8 #537

Open Sciss opened 3 years ago

Sciss commented 3 years ago

Is the library really using a Java feature that requires JDK > 8?

[error] bad class file: /home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/com/pi4j/pi4j-core/1.4/pi4j-core-1.4.jar(com/pi4j/io/gpio/Pin.class) [error] class file has wrong version 55.0, should be 52.0

If not, you should build the published artifacts with -target 8 so they can be used under JDK 8.