hypfvieh / dbus-java

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)
https://hypfvieh.github.io/dbus-java/
MIT License
185 stars 73 forks source link

Change POM to allow for java-11 builds #153

Closed rm5248 closed 2 years ago

rm5248 commented 2 years ago

While looking at PR#7 for dbus-java-nativefd, I discovered that dbus-java now requires java 16 to build, although the documentation indicates that only 11 is needed. This PR should fix it so that it is still possible to build with only java 11.

hypfvieh commented 2 years ago

You only need Java 11 to run dbus-java when using jnr-unixsocket - if you want to build all you need Java 16+. I changed the PR to allow building the native-sockets when using JDK 16+, so it allows build with JDK 17 and higher as well.