Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move dokka-core #3173

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions core/build.gradle.kts

This file was deleted.

File renamed without changes.
File renamed without changes.
31 changes: 28 additions & 3 deletions dokka-subprojects/core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,41 @@
import org.jetbrains.registerDokkaArtifactPublication

/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

import org.jetbrains.dokkaVersion
import org.jetbrains.registerDokkaArtifactPublication

plugins {
id("org.jetbrains.conventions.kotlin-jvm")
id("org.jetbrains.conventions.maven-publish")
}

dependencies {
api("org.jetbrains.dokka:dokka-core:1.9.0")
implementation(kotlin("reflect"))
implementation(libs.kotlinx.coroutines.core)
implementation(libs.jackson.kotlin)
implementation(libs.jackson.xml)
constraints {
implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}

testImplementation(kotlin("test"))
testImplementation(projects.coreTestApi)
}

tasks {
processResources {
inputs.property("dokkaVersion", dokkaVersion)
eachFile {
if (name == "dokka-version.properties") {
filter { line ->
line.replace("<dokka-version>", dokkaVersion)
}
}
}
}
}

registerDokkaArtifactPublication("dokkaCore") {
Expand Down
Loading