Commit Graph

16 Commits

Author SHA1 Message Date
Gary Tierney 475c7ac741 Fix kotlin code style issues 2018-09-04 04:43:34 +01:00
Gary Tierney a53929a9a8 Remove apollo-plugin Gradle plugin
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.
2018-08-27 00:55:41 +01:00
Major- f4aa3aae4e Add tests for api plugin 2018-08-25 12:03:54 +01:00
Major- cfddd05499 Repackage api plugin 2018-08-23 20:12:26 +01:00
Major- ae73453e1a Remove (empty) util plugin
The contents of this plugin have mostly been moved into the api plugin,
or removed entirely.
2018-08-21 16:09:30 +01:00
Major 86fba62ab9 Support npc and object definitions in plugin tests 2018-08-21 16:09:16 +01:00
Gary Tierney 248a7d97d9 Update plugin test framework to junit5
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.
2018-08-19 22:28:41 +01:00
Major 4b68b8e47e Separate prospecting actions 2018-03-28 17:39:51 +01:00
Major 0d7b2ea6e8 Add prospecting on expired rocks 2018-03-28 17:39:51 +01:00
Major 6941fc9de0 Fix nitpicks in Mining plugin
Also adds equals() and hashcode() implementations to the various
Mining actions.
2018-03-28 17:39:50 +01:00
Gary Tierney d8116478d4 Remove dependency on embedded kotlin compiler
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.
2018-03-27 22:35:05 +01:00
Major 6e3ddff51a Correctly import api.Definitions 2017-09-24 22:56:48 +01:00
Major b4e8a7136b Add skill extension properties 2017-09-24 19:44:17 +01:00
Major 8c2f086ae5 Remove meta.toml files
Since plugins were moved to gradle they aren't used anyway.
2017-09-24 02:40:33 +01:00
Gary Tierney 76dd8ba192 Refactor asynchronous actions to avoid thread usage
Adds custom coroutines specifically for use within Actions.  This
implements all features of the previous system, however, does not rely
on a separate executor to wake up continuations.

Note: since Actions are still ran by an executor and a small chance of
overlap exists the ActionCoroutine implementation uses atomic counters
and references.
2017-09-19 01:52:10 +01:00
Gary Tierney 0dc6879bdc Refactor mining to use async actions 2017-09-17 03:13:03 +01:00