Skip to content

Commit

Permalink
Move dokka-core (#3173)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev authored Sep 5, 2023
1 parent 7ac239e commit ec41cc1
Show file tree
Hide file tree
Showing 75 changed files with 28 additions and 46 deletions.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec41cc1

Please sign in to comment.