ImportScript

@Target(allowedTargets = [AnnotationTarget.FILE])
annotation class ImportScript(val paths: String)(source)

Allows importing other source script files to access their members. Imported paths must be unique, scripts with duplicate imports will fail to compile.

Parameters

paths

paths to scripts to be imported, relative to the current script's location

Properties

Link copied to clipboard
val paths: Array<out String>