Package-level declarations
Types
Link copied to clipboard
Protelis2KotlinDoc Gradle Plugin: reuses the Protelis2Kotlin and Dokka plugins to generate Kotlin docs from Protelis code.
Link copied to clipboard
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.
Functions
Link copied to clipboard
Main function: calls protelis2Kt without a project.
Link copied to clipboard
Reads all Protelis files under a base directory, parses them, and generates corresponding Kotlin files in a destination directory.