diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 2586469..4b88d27 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -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") } @@ -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 diff --git a/buildSrc/src/main/kotlin/dokka-convention.gradle.kts b/buildSrc/src/main/kotlin/dokka-convention.gradle.kts deleted file mode 100644 index 77fc338..0000000 --- a/buildSrc/src/main/kotlin/dokka-convention.gradle.kts +++ /dev/null @@ -1,12 +0,0 @@ -plugins { - id("org.jetbrains.dokka") -} - -dokka { - dokkaSourceSets.all { - sourceLink { - remoteUrl("https://github.com/huanshankeji/compose-html-material/tree/v${version}/${project.name}") - remoteLineSuffix.set("#L") - } - } -} diff --git a/buildSrc/src/main/kotlin/lib-conventions.gradle.kts b/buildSrc/src/main/kotlin/lib-conventions.gradle.kts index 8d5bd06..beae91a 100644 --- a/buildSrc/src/main/kotlin/lib-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/lib-conventions.gradle.kts @@ -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") }