We only need implementation, not api, so we don't need java-library and can stay using java. Changing from compile means changing configurations to runtimeClasspath. I set a duplicate-handling strategy because Gradle 7 needs that. I made the installer and uninstaller aware of their own assets, because they seem to not have them otherwise. I wasn't exactly clear on how best to build the jpackage versions of core, installer, and uninstaller, but I did manage to get them all built by running gradlew dist and gradlew installer:jpackageApplyUAC; there might be more steps in a release that I haven't tested. Also, all of this will be sorta-obsolete when Gradle 8 comes out in a few weeks, heh, but having done the 7 update will make the 8 update easier.
We only need
implementation
, notapi
, so we don't needjava-library
and can stay usingjava
. Changing fromcompile
means changing configurations toruntimeClasspath
. I set a duplicate-handling strategy because Gradle 7 needs that. I made the installer and uninstaller aware of their own assets, because they seem to not have them otherwise. I wasn't exactly clear on how best to build the jpackage versions of core, installer, and uninstaller, but I did manage to get them all built by runninggradlew dist
andgradlew installer:jpackageApplyUAC
; there might be more steps in a release that I haven't tested. Also, all of this will be sorta-obsolete when Gradle 8 comes out in a few weeks, heh, but having done the 7 update will make the 8 update easier.