Commit Graph

14 Commits

Author SHA1 Message Date
Gary Tierney 2cd160feb3 Refactor woodcutting to use coroutines 2017-09-19 19:02:29 +01:00
Trevor Flynn 75a9b828b2 Fix all issues. Wood cutting now works. 2017-09-19 19:02:29 +01:00
Trevor Flynn da7c7e10b4 Woodcutting now uses Async Action 2017-09-19 19:02:29 +01:00
Trevor Flynn 3e6415f0d2 Initial commit on new woodcutting branch 2017-09-19 19:02:29 +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 169d89ffc0 Clear static object REMOVE messages when re-adding 2017-09-17 20:27:50 +01:00
Gary Tierney 112b8aab57 Add basic detekt configuration 2017-09-17 04:28:10 +01:00
Gary Tierney 40095d65e5 Add explicit stop() to async actions 2017-09-17 03:24:59 +01:00
Gary Tierney 0dc6879bdc Refactor mining to use async actions 2017-09-17 03:13:03 +01:00
Gary Tierney cf0e3331e0 Add API plugin with common functionality 2017-09-17 03:11:02 +01:00
Gary Tierney 3a9e435189 Add an await function to the AsyncActionRunner trait 2017-09-17 03:11:02 +01:00
Gary Tierney b4d951c7cc Fix incremental script compilation 2017-09-16 21:49:45 +01:00
Gary Tierney edcb72b474 Fix plugin test running with new gradle modules 2017-09-16 20:40:17 +01:00
Gary Tierney 36282cf81e Remove plugins.gradle and factor into common extension 2017-09-16 18:49:06 +01:00