diff options
Diffstat (limited to 'plugins/gfm')
5 files changed, 14 insertions, 13 deletions
diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts index da64c0e9..b7e6fc18 100644 --- a/plugins/gfm/build.gradle.kts +++ b/plugins/gfm/build.gradle.kts @@ -7,20 +7,22 @@ plugins { dependencies { compileOnly(projects.core) - implementation(kotlin("reflect")) + implementation(projects.plugins.base) - testImplementation(projects.plugins.base) - testImplementation(projects.plugins.base.baseTestUtils) - implementation(libs.jackson.kotlin) - testImplementation(projects.core.testApi) - testImplementation(platform(libs.junit.bom)) - testImplementation(libs.junit.jupiter) + implementation(kotlin("reflect")) + implementation(libs.jackson.kotlin) constraints { implementation(libs.jackson.databind) { because("CVE-2022-42003") } } + + testImplementation(projects.plugins.base) + testImplementation(projects.plugins.base.baseTestUtils) + testImplementation(projects.core.testApi) + testImplementation(platform(libs.junit.bom)) + testImplementation(libs.junit.jupiter) } registerDokkaArtifactPublication("gfmPlugin") { diff --git a/plugins/gfm/gfm-template-processing/build.gradle.kts b/plugins/gfm/gfm-template-processing/build.gradle.kts index 021adae2..9611a8aa 100644 --- a/plugins/gfm/gfm-template-processing/build.gradle.kts +++ b/plugins/gfm/gfm-template-processing/build.gradle.kts @@ -8,12 +8,12 @@ plugins { dependencies { compileOnly(projects.core) - implementation(kotlin("reflect")) implementation(projects.plugins.base) implementation(projects.plugins.gfm) implementation(projects.plugins.allModulesPage) implementation(projects.plugins.templating) + implementation(kotlin("reflect")) implementation(libs.kotlinx.coroutines.core) testImplementation(projects.core.testApi) diff --git a/plugins/gfm/src/main/kotlin/org/jetbrains/dokka/gfm/gfmTemplating.kt b/plugins/gfm/src/main/kotlin/org/jetbrains/dokka/gfm/gfmTemplating.kt index e66f8a12..e286d9e5 100644 --- a/plugins/gfm/src/main/kotlin/org/jetbrains/dokka/gfm/gfmTemplating.kt +++ b/plugins/gfm/src/main/kotlin/org/jetbrains/dokka/gfm/gfmTemplating.kt @@ -1,9 +1,9 @@ package org.jetbrains.dokka.gfm -import org.jetbrains.dokka.base.templating.toJsonString -import org.jetbrains.dokka.links.DRI import com.fasterxml.jackson.annotation.JsonTypeInfo import com.fasterxml.jackson.annotation.JsonTypeInfo.Id.CLASS +import org.jetbrains.dokka.base.templating.toJsonString +import org.jetbrains.dokka.links.DRI @JsonTypeInfo(use = CLASS) sealed class GfmCommand { diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/CodeWrappingTest.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/CodeWrappingTest.kt index a8b263eb..ae40694c 100644 --- a/plugins/gfm/src/test/kotlin/renderers/gfm/CodeWrappingTest.kt +++ b/plugins/gfm/src/test/kotlin/renderers/gfm/CodeWrappingTest.kt @@ -1,10 +1,9 @@ package renderers.gfm import org.jetbrains.dokka.gfm.renderer.CommonmarkRenderer -import org.jetbrains.dokka.pages.TextStyle import org.junit.jupiter.api.Test +import renderers.testPage import kotlin.test.assertEquals -import renderers.* class CodeWrappingTest : GfmRenderingOnlyTestBase() { @Test diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/GroupWrappingTest.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/GroupWrappingTest.kt index eafe3e13..1d6a79ca 100644 --- a/plugins/gfm/src/test/kotlin/renderers/gfm/GroupWrappingTest.kt +++ b/plugins/gfm/src/test/kotlin/renderers/gfm/GroupWrappingTest.kt @@ -3,7 +3,7 @@ package renderers.gfm import org.jetbrains.dokka.gfm.renderer.CommonmarkRenderer import org.jetbrains.dokka.pages.TextStyle import org.junit.jupiter.api.Test -import renderers.* +import renderers.testPage class GroupWrappingTest : GfmRenderingOnlyTestBase() { |