Implement lazy script definition and light discovery in cli plugin, ...
update appropriate parts of the scripting infrastructure
This commit is contained in:
+6
@@ -21,6 +21,12 @@ import kotlin.script.experimental.definitions.ScriptDefinitionFromAnnotatedBaseC
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class KotlinScript(
|
||||
val name: String = "Kotlin script"
|
||||
)
|
||||
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class KotlinScriptDefinition(
|
||||
val definition: KClass<out ScriptDefinition> = ScriptDefinitionFromAnnotatedBaseClass::class
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user