Commit Graph

9 Commits

Author SHA1 Message Date
Gary Tierney 1019cc8e6a Check for conflicting plugin names at build-time 2017-06-18 21:37:44 +01:00
Gary Tierney 3f714831c7 Make plugin classes dependant on scripts 2017-06-18 21:25:04 +01:00
Gary Tierney adaaae2129 Refactor the plugin compile task for performance
Integrates the plugin script compilation task with Gradle so we no
longer need to start a new instance of the JVM for each set of plugin
scripts that we want to compile.
2017-06-18 21:13:30 +01:00
Gary Tierney 7ecc2e3158 Clean up plugin script compilation 2017-06-01 23:09:24 +01:00
Gary Tierney 42fdaee8b8 Make run task depend on plugin scripts 2017-06-01 22:47:50 +01:00
Gary Tierney eed32efcf9 Move stub.kt to main game module 2017-05-31 21:05:35 +01:00
Gary Tierney 258fc6c97b Add stub to plugin compile-time classpath 2017-05-31 10:55:12 +01:00
Gary Tierney 9353daabc3 Add plugin tests to the game build 2017-05-30 21:11:40 +01:00
Gary Tierney 3fb6d3f792 Treat each plugin as an individual source set
Adds separate build tasks for each plugin by auto-discovering plugin meta
files in the build script.  Each plugin will automatically have its
main sources and tests compiled, and then it's output added to the game
modules classpath.

This enables support for incremental compilation of scripts, as well as
unit testing using Gradle's test framework.
2017-05-30 21:06:37 +01:00