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 /plugins | |
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 'plugins')
-rw-r--r-- | plugins/build.gradle.kts | 4 | ||||
-rw-r--r-- | plugins/kotlin-as-java/build.gradle.kts | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/plugins/build.gradle.kts b/plugins/build.gradle.kts index 5f2f6dcb..e29f1355 100644 --- a/plugins/build.gradle.kts +++ b/plugins/build.gradle.kts @@ -6,6 +6,10 @@ subprojects { dependencies { compileOnly(project(":core")) compileOnly(kotlin("stdlib-jdk8")) +// compileOnly(project(":coreDependencies", configuration = "shadow")) // uncomment if IntelliJ does not recognize pacakges from IntelliJ + testImplementation(project(":testApi")) + testImplementation(kotlin("stdlib-jdk8")) + testImplementation("junit:junit:4.13") } }
\ No newline at end of file diff --git a/plugins/kotlin-as-java/build.gradle.kts b/plugins/kotlin-as-java/build.gradle.kts index 5d04060f..3b281d53 100644 --- a/plugins/kotlin-as-java/build.gradle.kts +++ b/plugins/kotlin-as-java/build.gradle.kts @@ -5,13 +5,4 @@ publishing { from(components["java"]) } } -} - -dependencies { - implementation(kotlin("stdlib-jdk8")) - compileOnly(project(":coreDependencies", configuration = "shadow")) - testImplementation(project(":core")) - testImplementation(project(":coreDependencies", configuration = "shadow")) - testImplementation(project(":testApi")) - testImplementation("junit:junit:4.13") }
\ No newline at end of file |