aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r--core/build.gradle.kts18
1 files changed, 4 insertions, 14 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index e70791f3..c8cae2d6 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -7,30 +7,20 @@ plugins {
}
dependencies {
- implementation(project(":coreDependencies", configuration = "shadow"))
+ api(project(":coreDependencies", configuration = "shadow"))
val kotlin_version: String by project
- implementation("org.jetbrains.kotlin:kotlin-compiler:$kotlin_version")
- implementation("org.jetbrains.kotlin:kotlin-script-runtime:$kotlin_version")
+ api("org.jetbrains.kotlin:kotlin-compiler:$kotlin_version")
+ implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.10")
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
implementation("org.jsoup:jsoup:1.12.1")
implementation("com.google.code.gson:gson:2.8.5")
- implementation("org.jetbrains:markdown:0.1.41")
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.10")
testImplementation(project(":testApi"))
testImplementation("junit:junit:4.13")
}
-tasks {
- shadowJar {
- val dokka_version: String by project
- archiveFileName.set("dokka-core-$dokka_version.jar")
- archiveClassifier.set("")
- }
-}
-
val sourceJar by tasks.registering(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets["main"].allSource)
@@ -40,7 +30,7 @@ publishing {
publications {
register<MavenPublication>("dokkaCore") {
artifactId = "dokka-core"
- project.shadow.component(this)
+ from(components["java"])
artifact(sourceJar.get())
}
}