Add config params for specifying target annotations, import param renaming
This commit is contained in:
+5
-1
@@ -23,7 +23,7 @@ object ScriptCompileConfigurationProperties {
|
||||
|
||||
val contextVariables by typedKey<Map<String, KType>>() // external variables
|
||||
|
||||
val importedPackages by typedKey<List<String>>()
|
||||
val defaultImports by typedKey<List<String>>()
|
||||
|
||||
val restrictions by typedKey<List<ResolvingRestrictionRule>>()
|
||||
|
||||
@@ -31,6 +31,10 @@ object ScriptCompileConfigurationProperties {
|
||||
|
||||
val dependencies by typedKey<List<ScriptDependency>>()
|
||||
|
||||
val generatedClassAnnotations by typedKey<List<KClass<out Annotation>>>()
|
||||
|
||||
val generatedMethodAnnotations by typedKey<List<KClass<out Annotation>>>()
|
||||
|
||||
val compilerOptions by typedKey<List<String>>() // Q: CommonCompilerOptions instead?
|
||||
|
||||
val refineBeforeParsing by typedKey<Boolean>() // default: false
|
||||
|
||||
Reference in New Issue
Block a user