Replaces the old Gradle plugin with plain Gradle buildscripts. Also cleans-up
the current Gradle extensions and re-adds detekt, along with JUnit 5 support to
all modules.
Allows parameterized tests to use Item, Npc, and Object definitions
as @ArgumentSources.
This commit also adds support for using @ItemDefinitions etc on
properties as well as functions.
Updates the testing infrastructure to use the latest relesae of junit and
leverages the new extension mechanism to create an easy to use testing
framework. Also adds additional test coverage for several plugins.
Removes the dependency on legacy script compilation and now relies on script
discovery. In addition, the Gradle build scripts were refactored and updated
to be compatible with Gradle 5.0 and make use of the new java-library
configurations.
Adds named arguments to enum declarations along with lookup functions, fixes
continuation indent, and replaces Map<Player, ArrayList<Prayer>> with a
SetMultimap<Player, Prayer>.
This is a large change that significantly simplifies the plugin build system by
having the kotlinc handle everything related to script compilation. Since we
no longer use package name rewriting, the "packageName" option has been dropped
from the gradle script API and has been removed from existing plugins.
In addition to simplifying the build system, it should also significantly speed
up build times. Previously we ran 2 build processes for every plugin and
didn't have fully working incremental compilation for scripts compared to 1
build process with built-in incremental compilation.
There were also some random pieces of code that referenced kotlinc directly, so
those have either been removed or refactored out.