Skip to content

Commit 6b4f8b6

Browse files
committed
Use the new com.huanshankeji.team.dokka.github-dokka-convention plugin
The `mavenLocal()` repository is kept there now since there is CI now.
1 parent 5a9bf69 commit 6b4f8b6

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

buildSrc/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
repositories {
6-
//mavenLocal() // comment out when not needed
6+
mavenLocal()
77
gradlePluginPortal()
88
google()
99
mavenCentral()
@@ -15,7 +15,7 @@ dependencies {
1515
implementation(kotlin("gradle-plugin", kotlinVersion))
1616
implementation("org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlinVersion")
1717
implementation("org.jetbrains.compose:compose-gradle-plugin:1.7.0")
18-
implementation("com.huanshankeji.team:gradle-plugins:0.6.0") // don't use a snapshot version in a main branch
18+
implementation("com.huanshankeji.team:gradle-plugins:0.7.0-SNAPSHOT") // TODO don't use a snapshot version in a main branch
1919
implementation("com.android.tools.build:gradle:8.5.2")
2020
implementation("com.huanshankeji:common-gradle-dependencies:0.8.0-20241016") // don't use a snapshot version in a main branch
2121
implementation("org.jetbrains.dokka:dokka-gradle-plugin:2.0.0-Beta")
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
plugins {
2-
id("org.jetbrains.dokka")
2+
id("com.huanshankeji.team.dokka.github-dokka-convention")
33
}
44

55
dokka {
6-
dokkaSourceSets.all {
7-
sourceLink {
8-
remoteUrl("https://github.com/huanshankeji/compose-multiplatform-material/tree/v${version}/${project.name}")
9-
remoteLineSuffix.set("#L")
10-
}
11-
}
12-
136
// https://github.com/Kotlin/dokka/issues/3885#issuecomment-2449645480
147
dokkaGeneratorIsolation = ClassLoaderIsolation()
158
}

0 commit comments

Comments
 (0)