blob: e71c3680aaf460d5a466384e36839d08cbb13e44 [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/**'
exclude '**/.gradle/**'
exclude '**/node_modules/**'
}
mainClassName = "KnitKt"
run.dependsOn rootProject.getTasksByName("dokka", true)
run.args = mdFiles
run.workingDir = project.rootDir
task knit(dependsOn: run)