Refactor script definitions loading and discovery:

Improve logic, code reuse and readability
Add support for more corner cases
Improve reporting
Add definitions loading test
This commit is contained in:
Ilya Chernikov
2018-06-29 19:58:05 +02:00
parent fbbfe600ec
commit edf13c022e
4 changed files with 174 additions and 157 deletions
@@ -1,5 +1,5 @@
import kotlin.script.templates.*
@ScriptTemplateDefinition
@ScriptTemplateAdditionalCompilerArguments(["-v"])
abstract class TestScriptWithOtherAnnotation