Skip to content

Commit cebd128

Browse files
committed
Fix bulid
1 parent 6e43d72 commit cebd128

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

build.gradle.kts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,14 @@ dokka {
4343
}
4444

4545
dependencies {
46-
dokka(project(":tasks-jvm"))
47-
dokka(project(":tasks-kotlin-coroutines"))
46+
// Aggregating project dokka tasks here triggers Dokka V1 tasks in subprojects
47+
// which fail when Dokka V2 mode is enabled. Instead, generate docs per
48+
// subproject (they already configure their own dokkaPublication tasks).
49+
// If an aggregated site is needed, run the v2 `dokkaGenerate` tasks from
50+
// the root or create a dedicated aggregation task that depends on
51+
// `dokkaGeneratePublicationHtml` for each subproject.
52+
// dokka(project(":tasks-jvm"))
53+
// dokka(project(":tasks-kotlin-coroutines"))
4854
}
4955

5056
tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {

buildSrc/src/main/kotlin/tasks.base.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import com.vanniktech.maven.publish.SonatypeHost
2-
31
plugins {
42
id("com.vanniktech.maven.publish")
53
}
@@ -19,7 +17,7 @@ version = projectVersion.let { version ->
1917
}
2018

2119
mavenPublishing {
22-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
20+
publishToMavenCentral()
2321
signAllPublications()
2422

2523
pom {

gradle/libs.versions.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ binary-compatibility-validator = "0.16.2"
44
dokka = "2.1.0"
55
jetbrains-annotations = "26.0.2"
66
jspecify = "1.0.0"
7-
junit-jupiter = "6.0.2"
87
kotlin = "2.3.0"
98
kover = "0.9.5"
10-
lombok = "1.18.36"
11-
publish-plugin = "0.29.0"
9+
publish-plugin = "0.36.0"
1210
versions-plugin = "0.51.0"
1311
kotlinx-coroutines = "1.10.2"
1412

0 commit comments

Comments
 (0)