Update Shortest Path to 1.19.0#11621
Conversation
|
8a7fb10 to
0f3673d
Compare
Got it! Fixed the Gradle files, also split them out a bit to not pollute the main one as much with our own development utilities. For future reference, is this a check that came from your side, or did the checkstyle already get enforced? I wanted initially to push it without any of those checks failing the build. The commit I pointed to didn't have it included yet. |
|
@FIrgolitsch still not fixed |
|
My bad, the comment lines weren't caught. Sorry about that, it should be good now. I'm seeing it fails now on the me.champeau.jmh plugin. We use it for performance profiling of our pathfinding algorithm. Is it not allowed? It's a test-only dependency. |
|
not a gradle expert, but i think you'd need to load it in in a different way than you're doing now |
|
Thanks for the response. I'm no gradle expert either (hence the issues...), but I'll see if I can't get it split up somehow. |
|
Dropped the dependency altogether. Seemed like a cleaner way to do things |
|
Internal use only: Reviewer details Maintainer details |
|
this now looks reviewable 👍 |
|
Awesome! Hopefully the next checks will go a bit smoother haha |
|
Pull requests which automatically pass the "RuneLite Plugin Hub Checks" and use the standard build type are now eligible for automated review. If your plugin uses the standard build.gradle script, consider adding build=standard to your runelite-plugin.properties file and update this PR. |
|
I don't think we use anything out of the ordinary. Added the directive to our plugin. |
you have hundreds of lines of custom gradle stuff, this is very out of the ordinary. Even though these are only intended to be run manually, it would be a lot better if you just implemented them as tests under a different run configuration or something and use system properties instead of gradle properties. We'd very much prefer if you keep the gradle stuff as simple as possible. Take a look at how I did something related in the Sailing plugin: create a new source set, and then place the files in there. This also excludes them from the release jar and the normal test path, so you don't need to do anything special to exclude it from those. |
The second of the large releases. Large rework of internal workings to fix some major problems.
All changes are listed under the 1.19.0 milestone:
https://github.com/Skretzo/shortest-path/milestone/1?closed=1
A large part of the changes is in the test package due to some testing validation tools we built (https://skretzo.github.io/shortest-path/). It shouldn't pollute the final plugin package.
After this one is approved, we will shortly push 1.19.1 as well, which will be just a reformat of all code files to align with the RuneLite code conventions and fix final linting issues.