Skip to content

Commit

Permalink
Use the new com.huanshankeji.team.dokka.github-dokka-convention plugin
Browse files Browse the repository at this point in the history
The `mavenLocal()` repository is kept there now since there is CI now.
  • Loading branch information
ShreckYe committed Nov 7, 2024
1 parent 1530e8b commit fba4119
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
`kotlin-dsl`
}
repositories {
//mavenLocal() // comment out when not needed
mavenLocal()
gradlePluginPortal()
//maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
Expand All @@ -13,7 +13,7 @@ dependencies {
implementation(kotlin("gradle-plugin", kotlinVersion))
implementation("org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlinVersion")
implementation("org.jetbrains.compose:compose-gradle-plugin:1.7.0")
val huanshankejiGradlePluginsVersion = "0.6.0" // don't use a snapshot version in a main branch
val huanshankejiGradlePluginsVersion = "0.7.0-SNAPSHOT" // TODO don't use a snapshot version in a main branch
implementation("com.huanshankeji:kotlin-common-gradle-plugins:$huanshankejiGradlePluginsVersion")
implementation("com.huanshankeji.team:gradle-plugins:$huanshankejiGradlePluginsVersion")
implementation("com.huanshankeji:common-gradle-dependencies:0.8.0-20241016") // don't use a snapshot version in a main branch
Expand Down
12 changes: 0 additions & 12 deletions buildSrc/src/main/kotlin/dokka-convention.gradle.kts

This file was deleted.

2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/lib-conventions.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("lib-conventions-without-publishing")
id("com.huanshankeji.kotlin-multiplatform-sonatype-ossrh-publish-conventions")
id("dokka-convention")
id("com.huanshankeji.team.dokka.github-dokka-convention")
}

0 comments on commit fba4119

Please sign in to comment.