aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/versioning')
-rw-r--r--plugins/versioning/build.gradle.kts10
-rw-r--r--plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/DefaultPreviousDocumentationCopyPostAction.kt4
2 files changed, 6 insertions, 8 deletions
diff --git a/plugins/versioning/build.gradle.kts b/plugins/versioning/build.gradle.kts
index 370338a8..68db9d1c 100644
--- a/plugins/versioning/build.gradle.kts
+++ b/plugins/versioning/build.gradle.kts
@@ -11,22 +11,20 @@ registerDokkaArtifactPublication("versioning-plugin") {
dependencies {
compileOnly(projects.core)
- implementation(kotlin("reflect"))
+
implementation(projects.plugins.base)
implementation(projects.plugins.templating)
- implementation(projects.plugins.templating)
+ implementation(kotlin("reflect"))
implementation(libs.kotlinx.coroutines.core)
+ implementation(libs.kotlinx.html)
+ implementation(libs.apacheMaven.artifact)
implementation(libs.jackson.kotlin)
constraints {
implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- implementation(libs.kotlinx.html)
-
- implementation(libs.jsoup)
- implementation(libs.apacheMaven.artifact)
testImplementation(projects.core.testApi)
testImplementation(platform(libs.junit.bom))
diff --git a/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/DefaultPreviousDocumentationCopyPostAction.kt b/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/DefaultPreviousDocumentationCopyPostAction.kt
index 6ab81d31..43abdb9c 100644
--- a/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/DefaultPreviousDocumentationCopyPostAction.kt
+++ b/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/DefaultPreviousDocumentationCopyPostAction.kt
@@ -4,11 +4,11 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
-import org.jetbrains.dokka.renderers.PostAction
import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.plugability.plugin
import org.jetbrains.dokka.plugability.query
import org.jetbrains.dokka.plugability.querySingle
+import org.jetbrains.dokka.renderers.PostAction
import org.jetbrains.dokka.templates.TemplateProcessingStrategy
import org.jetbrains.dokka.templates.TemplatingPlugin
import java.io.File
@@ -51,4 +51,4 @@ class DefaultPreviousDocumentationCopyPostAction(private val context: DokkaConte
versionRootContent.copyTo(targetParent.resolve(versionRootContent.name), overwrite = true)
}
}
-} \ No newline at end of file
+}