blob: a26d109ee0b854c484c9c0ef6733d8062a28bd65 (
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
|
import org.jetbrains.configureBintrayPublication
plugins {
id("com.github.johnrengelman.shadow")
`maven-publish`
id("com.jfrog.bintray")
}
repositories {
maven(url = "https://kotlin.bintray.com/kotlin-plugin")
}
dependencies {
// TODO (see https://github.com/Kotlin/dokka/issues/1009)
implementation(kotlin("stdlib"))
implementation(kotlin("reflect"))
implementation("org.jetbrains:markdown:0.1.41") {
because("it's published only on bintray")
}
}
tasks {
shadowJar {
val dokka_version: String by project
archiveFileName.set("dokka-dependencies-$dokka_version.jar")
archiveClassifier.set("")
}
}
publishing {
publications {
register<MavenPublication>("dokkaCoreDependencies") {
artifactId = "dokka-core-dependencies"
project.shadow.component(this)
}
}
}
configureBintrayPublication("dokkaCoreDependencies")
|