ProtelisDocExtension

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

baseDir

The base directory from which looking for Protelis files

destDir

The directory that will contain the generated docs

kotlinDestDir

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))

Properties

Link copied to clipboard
val baseDir: Property<String>
Link copied to clipboard
val debug: Property<Boolean>
Link copied to clipboard
val destDir: Property<String>
Link copied to clipboard
val kotlinDestDir: Property<String>