Skip to content

Commit 314a8e1

Browse files
committed
Resolve the Dokka "could not resolve" issue with the official solution
A source commit: huanshankeji/gradle-common@c1c69c3
1 parent d2ee3ed commit 314a8e1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ plugins {
66
id("org.jetbrains.dokka")
77
}
88

9-
// workaround for https://github.com/Kotlin/dokka/issues/3903 from https://github.com/Kotlin/dokka/issues/2260 TODO remove when it's fixed
10-
repositories {
11-
mavenCentral()
12-
}
13-
149
dependencies {
1510
listOf(
1611
"compose-html-common",

settings.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ include("compose-html-material-legacy")
55
include("compose-html-material3")
66
include("gradle-plugins")
77
project(":gradle-plugins").name = "compose-html-material-gradle-plugins-legacy"
8+
9+
// for Dokka
10+
@Suppress("UnstableApiUsage")
11+
dependencyResolutionManagement {
12+
repositories {
13+
mavenCentral()
14+
}
15+
}

0 commit comments

Comments
 (0)