aboutsummaryrefslogtreecommitdiff
path: root/plugins/gfm
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gfm')
-rw-r--r--plugins/gfm/build.gradle.kts13
-rw-r--r--plugins/gfm/gfm-template-processing/build.gradle.kts15
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
+}