Migrate Java Project to Gradle + Switch to Oracle GraalVM for JDK 17 With Build Process (And Small Improvements)
This PR will migrate the project from Apache Maven to Gradle, with quicker building speeds. The action will also use Oracle GraalVM instead now for building (which is quicker than Eclipse Temurin/Adoptium). It also includes the generated shaded/uber JAR with a successful build in the AP-TEST-SERVER directory as an artifact. If you go to the Actions tab and click the first Build action, you'll find an Artifacts section at the bottom called AutoPlug-Client which is the artifact. If you download it, you'll get a ZIP file with the JAR inside. You can then test it, and if it works, you can upload it to GitHub and you're good to go (don't forget to update the version number first in the build.gradle file and use that artifact if you wish to make a new release!). Apart from that I made small improvements, you can check them at any time!
Do I still need to add the .run stuff @Osiris-Team? Everything is ready except this yet, am trying to configure it now, though at some points I am not completely sure with all options. Like with that Maven configuration, it has one configuration to skip tests but what else?
Do I still need to add the .run stuff @Osiris-Team? Everything is ready except this yet, am trying to configure it now, though at some points I am not completely sure with all options. Like with that Maven configuration, it has one configuration to skip tests but what else?
Nevermind, got it. It's actually pretty easy. Am finishing the last configurations right now.
@Osiris-Team Is there a way that I can manually try running my configuration XML files or run them?
@Osiris-Team Done! Should be ready to get merged into the upstream (a.k.a. this repository).
@Minionguyjpro will do once another recent issue related to backup uploads is fixed. Seems to have something to do with dependencies.
Thanks!
@Minionguyjpro will do once another recent issue related to backup uploads is fixed. Seems to have something to do with dependencies.
Thanks!
Tell me when you get that fixed. If it's indeed a dependency, tell me what you changed so I can do the same for the build.gradle. Plus, sync changes if it's in something else than the dependencies in the pom.xml.