diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-02-13 12:52:39 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-02-13 17:10:17 +0100 |
commit | e730b82c4db6306a5b9e552d8a4c6578b0c1e01a (patch) | |
tree | 4dfbc0bd31cbe2c8305684aa5ed6ac7083f35e04 /coreDependencies | |
parent | bca6d8c524a4c1a8174e1e2e301b3cd32d5e8fd4 (diff) | |
download | dokka-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 'coreDependencies')
-rw-r--r-- | coreDependencies/build.gradle.kts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/coreDependencies/build.gradle.kts b/coreDependencies/build.gradle.kts index 514c7ae1..73b04554 100644 --- a/coreDependencies/build.gradle.kts +++ b/coreDependencies/build.gradle.kts @@ -1,6 +1,9 @@ +import org.jetbrains.configureBintrayPublication + plugins { id("com.github.johnrengelman.shadow") `maven-publish` + id("com.jfrog.bintray") } val intellijCore: Configuration by configurations.creating @@ -24,6 +27,9 @@ dependencies { //TODO: parametrize ij version after 1.3.70 isTransitive = false } + implementation("org.jetbrains:markdown:0.1.41") { + because("it's published only on bintray") + } } tasks { @@ -41,3 +47,14 @@ tasks { exclude("src/**") } } + +publishing { + publications { + register<MavenPublication>("dokkaCoreDependencies") { + artifactId = "dokka-core-dependencies" + project.shadow.component(this) + } + } +} + +configureBintrayPublication("dokkaCoreDependencies")
\ No newline at end of file |