blob: 971f08f46c367a73feb6a496335331c1620bc06e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
import org.jetbrains.dokkaVersion
import org.jetbrains.registerDokkaArtifactPublication
plugins {
`maven-publish`
id("com.jfrog.bintray")
}
dependencies {
api("org.jetbrains:markdown:0.1.45")
implementation(kotlin("reflect"))
implementation("org.jsoup:jsoup:1.12.1")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1")
val coroutines_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
testImplementation(project(":core:test-api"))
testImplementation(kotlin("test-junit"))
}
tasks {
processResources {
inputs.property("dokkaVersion", dokkaVersion)
eachFile {
if (name == "dokka-version.properties") {
filter { line ->
line.replace("<dokka-version>", dokkaVersion)
}
}
}
}
}
registerDokkaArtifactPublication("dokkaCore") {
artifactId = "dokka-core"
}
|