blob: db861b90de124f32aae1e7c9fa2082393c26a184 (
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
|
import org.jetbrains.configureBintrayPublication
plugins {
`maven-publish`
id("com.jfrog.bintray")
}
dependencies {
implementation(project(":core"))
implementation("junit:junit:4.13") // TODO: remove dependency to junit
implementation(kotlin("stdlib"))
}
val sourceJar by tasks.registering(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets["main"].allSource)
}
publishing {
publications {
register<MavenPublication>("dokkaTestAPI") {
artifactId = "dokka-test-api"
components["java"]
artifact(sourceJar.get())
}
}
}
configureBintrayPublication("dokkaTestAPI")
|