aboutsummaryrefslogtreecommitdiff
path: root/testApi/build.gradle.kts
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-02-13 12:52:39 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-13 17:10:17 +0100
commite730b82c4db6306a5b9e552d8a4c6578b0c1e01a (patch)
tree4dfbc0bd31cbe2c8305684aa5ed6ac7083f35e04 /testApi/build.gradle.kts
parentbca6d8c524a4c1a8174e1e2e301b3cd32d5e8fd4 (diff)
downloaddokka-e730b82c4db6306a5b9e552d8a4c6578b0c1e01a.tar.gz
dokka-e730b82c4db6306a5b9e552d8a4c6578b0c1e01a.tar.bz2
dokka-e730b82c4db6306a5b9e552d8a4c6578b0c1e01a.zip
Update packaging structure, fix testAPI publication, simplify dependencies handling in plugins
Fixes #627 This commit removes repackaging `dokka-core` with all its dependencies by creating a publication for those dependencies. Moreover it moves `kotlinx-markdown` dependency to `coreDependencies` as this library is only present in Kotlin Bintray repository. TestAPI now publishes correctly
Diffstat (limited to 'testApi/build.gradle.kts')
-rw-r--r--testApi/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/testApi/build.gradle.kts b/testApi/build.gradle.kts
index db861b90..43c984b5 100644
--- a/testApi/build.gradle.kts
+++ b/testApi/build.gradle.kts
@@ -6,7 +6,7 @@ plugins {
}
dependencies {
- implementation(project(":core"))
+ api(project(":core"))
implementation("junit:junit:4.13") // TODO: remove dependency to junit
implementation(kotlin("stdlib"))
}
@@ -20,7 +20,7 @@ publishing {
publications {
register<MavenPublication>("dokkaTestAPI") {
artifactId = "dokka-test-api"
- components["java"]
+ from(components["java"])
artifact(sourceJar.get())
}
}