Protelis Doc Extension
open class ProtelisDocExtension @JvmOverloads constructor(project: Project, val baseDir: Property<String> = project.propertyWithDefault(project.path), val destDir: Property<String> = project.propertyWithDefault(
project.buildDirectory.map { "$it${SEP}kotlin-for-protelis$SEP" },
), val kotlinDestDir: Property<String> = project.objects.property(String::class).convention(
project.layout.buildDirectory
.dir("protelis2kt")
.map { it.asFile.absolutePath },
), val debug: Property<Boolean> = project.propertyWithDefault(false))
Extension for the Protelis2KotlinDoc plugin.
Parameters
base Dir
The base directory from which looking for Protelis files
dest Dir
The directory that will contain the generated docs
kotlin Dest Dir
destubatuib directirt for the intermediate Kotlin kode
debug
enables debug output
Constructors
Link copied to clipboard
constructor(project: Project, baseDir: Property<String> = project.propertyWithDefault(project.path), destDir: Property<String> = project.propertyWithDefault(
project.buildDirectory.map { "$it${SEP}kotlin-for-protelis$SEP" },
), kotlinDestDir: Property<String> = project.objects.property(String::class).convention(
project.layout.buildDirectory
.dir("protelis2kt")
.map { it.asFile.absolutePath },
), debug: Property<Boolean> = project.propertyWithDefault(false))