aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle.kts
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-07-17 16:36:09 +0200
committerPaweł Marks <pmarks@virtuslab.com>2020-07-17 16:36:09 +0200
commit6996b1135f61c7d2cb60b0652c6a2691dda31990 (patch)
treed568096c25e31c28d14d518a63458b5a7526b896 /core/build.gradle.kts
parentde56cab76f556e5b4af0b8c8cb08d8b482b86d0a (diff)
parent1c3530dcbb50c347f80bef694829dbefe89eca77 (diff)
downloaddokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.tar.gz
dokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.tar.bz2
dokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.zip
Merge branch 'dev-0.11.0'
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r--core/build.gradle.kts33
1 files changed, 33 insertions, 0 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
new file mode 100644
index 00000000..168baf48
--- /dev/null
+++ b/core/build.gradle.kts
@@ -0,0 +1,33 @@
+import org.jetbrains.registerDokkaArtifactPublication
+
+plugins {
+ `maven-publish`
+ id("com.jfrog.bintray")
+}
+
+dependencies {
+ api("org.jetbrains:markdown:0.1.45")
+ implementation(kotlin("reflect"))
+ implementation("com.google.code.gson:gson:2.8.5")
+ implementation("org.jsoup:jsoup:1.12.1")
+
+ testImplementation(project(":testApi"))
+ testImplementation(kotlin("test-junit"))
+}
+
+tasks {
+ processResources {
+ val dokka_version: String by project
+ eachFile {
+ if (name == "dokka-version.properties") {
+ filter { line ->
+ line.replace("<dokka-version>", dokka_version)
+ }
+ }
+ }
+ }
+}
+
+registerDokkaArtifactPublication("dokkaCore") {
+ artifactId = "dokka-core"
+}