import org.jetbrains.registerDokkaArtifactPublication plugins { `maven-publish` id("com.jfrog.bintray") kotlin("plugin.serialization") } dependencies { api("org.jetbrains:markdown:0.1.45") implementation(kotlin("reflect")) implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0-1.4-M3") implementation("com.google.code.gson:gson:2.8.5") implementation("org.jsoup:jsoup:1.12.1") testImplementation(project(":testApi")) testImplementation(kotlin("test-junit")) } tasks { processResources { val dokka_version: String by project eachFile { if (name == "dokka-version.properties") { filter { line -> line.replace("", dokka_version) } } } } } registerDokkaArtifactPublication("dokkaCore") { artifactId = "dokka-core" }