Giuliopime
10/18/2023, 5:30 PMException in thread "main" java.lang.LinkageError: loader 'bootstrap' attempted duplicate class definition for java.awt.TrayIcon. (java.awt.TrayIcon is in module java.desktop of loader 'bootstrap')
I have conflicting dependency because compose desktop also uses awt. Do you know if it's possible to exclude that dependency from the SystemTray lib?
I already tried with exclude
but I couldn't get it to work
implementation("com.dorkbox:SystemTray:4.4") {
// tried both
exclude("java.desktop")
exclude("java.awt")
}
Am I doing it wrong?