import org.jetbrains.dokkaVersion import org.jetbrains.registerDokkaArtifactPublication plugins { id("org.jetbrains.conventions.kotlin-jvm") id("org.jetbrains.conventions.maven-publish") } dependencies { implementation(kotlin("reflect")) implementation(libs.kotlinx.coroutines.core) implementation(libs.jackson.kotlin) implementation(libs.jackson.xml) constraints { implementation(libs.jackson.databind) { because("CVE-2022-42003") } } testImplementation(projects.core.testApi) testImplementation(kotlin("test-junit")) } tasks { processResources { inputs.property("dokkaVersion", dokkaVersion) eachFile { if (name == "dokka-version.properties") { filter { line -> line.replace("", dokkaVersion) } } } } } registerDokkaArtifactPublication("dokkaCore") { artifactId = "dokka-core" }