blob: 43c984b548578346e8e6df87ccc6132ede301ec9 (
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 {
api(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"
from(components["java"])
artifact(sourceJar.get())
}
}
}
configureBintrayPublication("dokkaTestAPI")
|