blob: 407d7ff60a4f5e048c3f012b742426c94cdc6cb2 (
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
38
39
40
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
import dokkabuild.overridePublicationArtifactId
plugins {
id("dokkabuild.kotlin-jvm")
id("dokkabuild.publish-jvm")
}
overridePublicationArtifactId("dokka-core")
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(kotlin("test"))
testImplementation(projects.dokkaSubprojects.coreTestApi)
}
tasks {
processResources {
inputs.property("dokkaVersion", project.version)
eachFile {
if (name == "dokka-version.properties") {
filter { line ->
line.replace("<dokka-version>", project.version.toString())
}
}
}
}
}
|