WolfyScript / WolfyUtils-Spigot

The WolfyUtilities implementation for the Spigot platform
10 stars 4 forks source link

Migrate Project to Gradle using Kotlin DSL #61

Closed WolfyScript closed 1 year ago

WolfyScript commented 1 year ago

With this PR, WolfyUtils no longer uses Maven, but Gradle as its buildsystem. This is to prepare for the Sponge implementation, that is also using Gradle, to make building faster, and provide more flexibility.

One of the special features is the DockerRunPlugin, that allows one to run test servers inside docker containers via a 'dockerRun' task. I tested it on Linux using Docker Engine, but Docker Desktop may just work too. However, on Windows it may not work! This way I can run the server via Gradle and 'docker attach' via the IntelliJ Docker services feature. Plus, I have control over the resources that the server gets, so I can test it under more realistic circumstances (not with 24 threads...).