diff options
author | aSemy <897017+aSemy@users.noreply.github.com> | 2023-03-07 23:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 23:26:06 +0100 |
commit | 62c980707d23d2d451c75330f7ed1ba613777cf3 (patch) | |
tree | 2dd732bdaa23713d665a07bcc28c2ab152dc8096 /plugins/gfm | |
parent | ded804e5772399f1495016d598573cb20b673b58 (diff) | |
download | dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.gz dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.bz2 dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.zip |
Use buildSrc convention plugins to configure the Dokka subprojects (#2704)
Diffstat (limited to 'plugins/gfm')
-rw-r--r-- | plugins/gfm/build.gradle.kts | 13 | ||||
-rw-r--r-- | plugins/gfm/gfm-template-processing/build.gradle.kts | 15 |
2 files changed, 27 insertions, 1 deletions
diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts index ee486dfd..bb97cdd3 100644 --- a/plugins/gfm/build.gradle.kts +++ b/plugins/gfm/build.gradle.kts @@ -1,11 +1,24 @@ import org.jetbrains.registerDokkaArtifactPublication +plugins { + org.jetbrains.conventions.`kotlin-jvm` + org.jetbrains.conventions.`maven-publish` +} + dependencies { + compileOnly(project(":core")) + implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) + implementation(kotlin("reflect")) implementation(project(":plugins:base")) testImplementation(project(":plugins:base")) testImplementation(project(":plugins:base:base-test-utils")) val jackson_version: String by project implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") + testImplementation(project(":test-utils")) + testImplementation(project(":core:test-api")) + testImplementation("org.junit.jupiter:junit-jupiter:5.6.0") + val jackson_databind_version: String by project constraints { implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") { diff --git a/plugins/gfm/gfm-template-processing/build.gradle.kts b/plugins/gfm/gfm-template-processing/build.gradle.kts index b401c0c7..450b33a2 100644 --- a/plugins/gfm/gfm-template-processing/build.gradle.kts +++ b/plugins/gfm/gfm-template-processing/build.gradle.kts @@ -1,6 +1,15 @@ import org.jetbrains.registerDokkaArtifactPublication +plugins { + org.jetbrains.conventions.`kotlin-jvm` + org.jetbrains.conventions.`maven-publish` +} + dependencies { + compileOnly(project(":core")) + implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) + implementation(kotlin("reflect")) implementation(project(":plugins:base")) implementation(project(":plugins:gfm")) implementation(project(":plugins:all-modules-page")) @@ -8,8 +17,12 @@ dependencies { val coroutines_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") + + testImplementation(project(":test-utils")) + testImplementation(project(":core:test-api")) + testImplementation("org.junit.jupiter:junit-jupiter:5.6.0") } registerDokkaArtifactPublication("dokkaGfmTemplateProcessing") { artifactId = "gfm-template-processing-plugin" -}
\ No newline at end of file +} |