beryx / badass-runtime-plugin

Create a custom runtime image of your non-modular application
https://badass-runtime-plugin.beryx.org
Apache License 2.0
162 stars 21 forks source link

Update build to Gradle 7.2 to match example projects #137

Closed hakanai closed 1 year ago

hakanai commented 1 year ago

At the moment, I'm trying to test example projects against the master branch of the plugin.

Problem is, to do this, Gradle apparently needs to run the same version of Gradle for both projects.

The example project I'm testing is badass-runtime-example-javafx which is using Gradle v7.2, but the plugin is on v6.8.3.

I took a shot at doing this, and made some progress... after fixing one compilation issue, I hit a second compilation issue that I can't figure out:

startup failed:
C:\Users\Trejkaz\Documents\GitHub\badass-runtime-plugin\src\main\groovy\org\beryx\runtime\RuntimeTask.groovy: 77: Access to java.lang.Object#taskGraph is forbidden @ line 77, column 16.
           project.gradle.taskGraph.whenReady { TaskExecutionGraph taskGraph ->
                  ^
1 error
hakanai commented 1 year ago

Closing my own ticket because I hadn't realised it was only my fork which was out of date. :/