diff options
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r-- | core/build.gradle.kts | 33 |
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" +} |