blob: a206c182fb56bbe790d432d848c2a8a5d041dd8a [file] [log] [blame]
apply plugin: "application"
sourceSets {
main.kotlin.srcDirs = ['src']
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
FileTree mdFiles = fileTree(project.rootDir) {
include '**/*.md'
exclude '**/build/**'
}
mainClassName = "KnitKt"
run.dependsOn rootProject.getTasksByName("dokka", true)
run.args = mdFiles
run.workingDir = project.rootDir
task knit(dependsOn: run)