From f3a9eef8898790d11730d962b05912c09589c0fd Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Sat, 15 Apr 2023 19:45:46 +0200 Subject: [PATCH 01/10] Get rid of gh-pages branch --- .github/workflows/docs-ci.yml | 45 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index ce1b70fb5fa3..ad51b29a168e 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -1,25 +1,23 @@ -# This workflow will build and deploy docs to GitHub Pages whenever something is pushed to the default branch +name: Build docs -name: Docs - -on: push # but only to default branch, see if below +on: + push: + branches: [ "main" ] +# Gives the workflow permissions to clone the repo and create a page deployment permissions: - contents: write + id-token: write + pages: write jobs: - docs: - name: Build and deploy docs + build-job: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) - concurrency: # Allow one concurrent deployment - group: pages - cancel-in-progress: true - env: - GITHUB_TAG_NAME: ${{ github.event.release.tag_name }} - GITHUB_BRANCH_NAME: ${{ github.ref }} steps: - - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v3 with: @@ -28,12 +26,13 @@ jobs: - name: Build docs with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: --stacktrace --info dokkaHtmlMultiModule - - name: Deploy docs to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4 + arguments: dokkaHtmlMultiModule + - name: Setup Pages + uses: actions/configure-pages@v2 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: - folder: build/dokka/htmlMultiModule - branch: gh-pages - git-config-name: GitHub Actions - git-config-email: actions@github.com - commit-message: Update docs + path: build/dokka/htmlMultiModule + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From f25035277bfdb6d72934e2fb6630c3b21480b8b7 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Mon, 17 Apr 2023 17:50:51 +0200 Subject: [PATCH 02/10] Add test branch config --- .github/workflows/docs-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index ad51b29a168e..fa456ca0e224 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -2,7 +2,7 @@ name: Build docs on: push: - branches: [ "main" ] +# branches: [ "main" ] # Gives the workflow permissions to clone the repo and create a page deployment permissions: From 775368add8b36383e75ebf45b4b608f5707802e9 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Mon, 17 Apr 2023 18:01:47 +0200 Subject: [PATCH 03/10] Revert "Add test branch config" This reverts commit f25035277bfdb6d72934e2fb6630c3b21480b8b7. --- .github/workflows/docs-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index fa456ca0e224..ad51b29a168e 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -2,7 +2,7 @@ name: Build docs on: push: -# branches: [ "main" ] + branches: [ "main" ] # Gives the workflow permissions to clone the repo and create a page deployment permissions: From d4a97b67415b36c57f16c32dfb9cce5bcd3051ae Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 00:19:05 +0200 Subject: [PATCH 04/10] Configure for versioned docs deploy --- .github/workflows/docs-ci.yml | 23 ++++++++++++++++--- buildSrc/src/main/kotlin/Compiler.kt | 5 +++- buildSrc/src/main/kotlin/Documentation.kt | 22 ++++++++++++++---- .../kord-multiplatform-module.gradle.kts | 1 + gradle/libs.versions.toml | 2 ++ 5 files changed, 45 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index ad51b29a168e..98661ec4223a 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -2,19 +2,32 @@ name: Build docs on: push: - branches: [ "main" ] + branches: [ "0.9.x" ] + tag: + workflow_dispatch: # Gives the workflow permissions to clone the repo and create a page deployment permissions: id-token: write pages: write +# This workflow updates the versioned docs on dokka.kord.dev using the following strategy +# 1) pull cache to docs-cache +# 2) Call dokkaHtmlMultiModule for current version +# - if this is a release build move current docs into docs-cache/$version +# - otherwise move it into docs-cache/current +# 3) Build GitHub Pages artifact +# - Move all folders not named "current" into docs/ +# - Move current into docs/ +# 4) Trigger deploy to GitHub Actions jobs: build-job: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest + GITHUB_TAG_NAME: ${{ github.event.release.tag_name }} + GITHUB_BRANCH_NAME: ${{ github.ref }} steps: - name: Checkout repository uses: actions/checkout@v3 @@ -23,16 +36,20 @@ jobs: with: distribution: temurin java-version: 8 + - uses: actions/cache@v3 + with: + path: docs-cache + key: docs-cache - name: Build docs with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: dokkaHtmlMultiModule + arguments: :produceDocs - name: Setup Pages uses: actions/configure-pages@v2 - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: build/dokka/htmlMultiModule + path: docs - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 diff --git a/buildSrc/src/main/kotlin/Compiler.kt b/buildSrc/src/main/kotlin/Compiler.kt index 48a5f1d5bb96..bbf83d6a4083 100644 --- a/buildSrc/src/main/kotlin/Compiler.kt +++ b/buildSrc/src/main/kotlin/Compiler.kt @@ -1,5 +1,6 @@ import kotlinx.atomicfu.plugin.gradle.AtomicFUPluginExtension import org.gradle.api.Project +import org.gradle.api.artifacts.VersionCatalog import org.gradle.api.artifacts.VersionCatalogsExtension import org.gradle.kotlin.dsl.assign import org.gradle.kotlin.dsl.configure @@ -41,7 +42,9 @@ fun KotlinSourceSet.applyKordOptIns() { fun Project.configureAtomicFU() { // https://github.com/Kotlin/kotlinx-atomicfu/issues/210 configure { - val libs = extensions.getByType().named("libs") dependenciesVersion = libs.findVersion("kotlinx-atomicfu").get().requiredVersion } } + +internal val Project.libs: VersionCatalog + get() = extensions.getByType().named("libs") diff --git a/buildSrc/src/main/kotlin/Documentation.kt b/buildSrc/src/main/kotlin/Documentation.kt index f75e9fb8c3f2..a43481e939b7 100644 --- a/buildSrc/src/main/kotlin/Documentation.kt +++ b/buildSrc/src/main/kotlin/Documentation.kt @@ -1,22 +1,24 @@ import org.gradle.kotlin.dsl.assign +import org.gradle.kotlin.dsl.dependencies import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask +import org.jetbrains.dokka.gradle.AbstractDokkaTask +import org.jetbrains.dokka.versioning.VersioningConfiguration +import org.jetbrains.dokka.versioning.VersioningPlugin import java.net.URL fun AbstractDokkaLeafTask.applyKordDokkaOptions() { - moduleName = "kord-${project.name}" failOnWarning = true - dokkaSourceSets.configureEach { - jdkVersion = Jvm.target suppressGeneratedFiles = false sourceLink { localDirectory = project.projectDir - remoteUrl = URL("https://github.com/kordlib/kord/blob/${Library.commitHashOrDefault("0.9.x")}/${project.name}") + remoteUrl = + URL("https://github.com/kordlib/kord/blob/${Library.commitHashOrDefault("0.9.x")}/${project.name}") remoteLineSuffix = "#L" } @@ -34,4 +36,16 @@ fun AbstractDokkaLeafTask.applyKordDokkaOptions() { suppress = true } } + project.dependencies { + "dokkaHtmlPartialPlugin"(project.libs.findLibrary("dokka-versioning-plugin").get()) + } + applyVersioningPlugin() +} + +fun AbstractDokkaTask.applyVersioningPlugin() { + pluginConfiguration { + version = Library.version + olderVersions = listOf(project.rootProject.file("0.9.x")) + renderVersionsNavigationOnAllPages = true + } } diff --git a/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts b/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts index b33a4e65cfc6..7af0ef7f09d1 100644 --- a/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts +++ b/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts @@ -1,4 +1,5 @@ import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask +import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest plugins { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9da88264431e..e7ffad06aeff 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -81,6 +81,7 @@ slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" } kotlin-jvm-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } kotlin-serialization-plugin = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" } dokka-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } +dokka-versioning-plugin = { module = "org.jetbrains.dokka:versioning-plugin", version.ref = "dokka" } atomicfu-plugin = { module = "org.jetbrains.kotlinx:atomicfu-gradle-plugin", version.ref = "kotlinx-atomicfu" } binary-compatibility-validator-plugin = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version.ref = "binary-compatibility-validator" } ksp-plugin = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version.ref = "ksp" } @@ -98,6 +99,7 @@ pluginsForBuildSrc = [ "kotlin-jvm-plugin", "kotlin-serialization-plugin", "dokka-plugin", + "dokka-versioning-plugin", "atomicfu-plugin", "binary-compatibility-validator-plugin", "ksp-plugin", From 2fc38d1a14aca9af535a87a5c6b25ca6e1ec518e Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 15:01:11 +0200 Subject: [PATCH 05/10] Update .github/workflows/docs-ci.yml Co-authored-by: Lukellmann <47486203+Lukellmann@users.noreply.github.com> --- .github/workflows/docs-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index 98661ec4223a..159b5eb5d91f 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -26,8 +26,9 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - GITHUB_TAG_NAME: ${{ github.event.release.tag_name }} - GITHUB_BRANCH_NAME: ${{ github.ref }} + env: + GITHUB_TAG_NAME: ${{ github.event.release.tag_name }} + GITHUB_BRANCH_NAME: ${{ github.ref }} steps: - name: Checkout repository uses: actions/checkout@v3 From bd4f158aed4e4606a0a7714bd1087b2cf962b076 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 15:02:39 +0200 Subject: [PATCH 06/10] Update buildSrc/src/main/kotlin/Documentation.kt Co-authored-by: Lukellmann <47486203+Lukellmann@users.noreply.github.com> --- buildSrc/src/main/kotlin/Documentation.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/Documentation.kt b/buildSrc/src/main/kotlin/Documentation.kt index a43481e939b7..2f157d28f165 100644 --- a/buildSrc/src/main/kotlin/Documentation.kt +++ b/buildSrc/src/main/kotlin/Documentation.kt @@ -44,7 +44,6 @@ fun AbstractDokkaLeafTask.applyKordDokkaOptions() { fun AbstractDokkaTask.applyVersioningPlugin() { pluginConfiguration { - version = Library.version olderVersions = listOf(project.rootProject.file("0.9.x")) renderVersionsNavigationOnAllPages = true } From 4b41895f49182a3dc852aee3d6d0ef292da0a1e6 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 15:10:26 +0200 Subject: [PATCH 07/10] Add missing gradle config from lsat commit --- .gitignore | 4 ++++ build.gradle.kts | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/.gitignore b/.gitignore index e46f4d6a2cc7..66ad376088e0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,10 @@ .idea/ out/ +# Versioned docs structure +docs/ +old-docs/ + **/build/* !**/build/generated/ # re-exclude BuildConfigGenerated.kt diff --git a/build.gradle.kts b/build.gradle.kts index a1cd46774e82..5f2f13871428 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,3 +8,46 @@ repositories { group = Library.group version = Library.version + +dependencies { + dokkaHtmlMultiModulePlugin(libs.dokka.versioning.plugin) +} + +tasks { + val oldDocsRoot = "docs-cache" + dokkaHtmlMultiModule { + applyVersioningPlugin() + } + + val saveDocs = task("saveVersionedDocs") { + fromDokkaMutliModule() + if (Library.isSnapshot) { + into("$oldDocsRoot/current") + } else { + into("$oldDocsRoot/${Library.version}") + } + } + + task("produceDocs") { + dependsOn(saveDocs) + // copy old versions + from(oldDocsRoot) { + exclude("current") + } + // copy up to date version + fromDokkaMutliModule { + if (Library.isRelease) { + into(Library.version) + } + } + into("docs") + } +} + +// For some reason from(dokkaHtmlMultiModule) produces some really weird output +inline fun Copy.fromDokkaMutliModule(crossinline configure: CopySpec.() -> Unit = {}) { + from("$buildDir/dokka/htmlMultiModule") { + configure() + } + dependsOn(tasks.dokkaHtmlMultiModule) +} From 30e061f1472e5a500d44c340d000b1301b92bd54 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 16:37:29 +0200 Subject: [PATCH 08/10] Update Docs CI to use git branch instead of cache --- .github/workflows/docs-ci.yml | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index 159b5eb5d91f..e3bd4fc1e628 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -2,8 +2,9 @@ name: Build docs on: push: - branches: [ "0.9.x" ] - tag: + release: + types: + - published workflow_dispatch: # Gives the workflow permissions to clone the repo and create a page deployment @@ -11,6 +12,11 @@ permissions: id-token: write pages: write +# Allow one concurrent deployment +concurrency: + group: pages + cancel-in-progress: true + # This workflow updates the versioned docs on dokka.kord.dev using the following strategy # 1) pull cache to docs-cache # 2) Call dokkaHtmlMultiModule for current version @@ -19,9 +25,10 @@ permissions: # 3) Build GitHub Pages artifact # - Move all folders not named "current" into docs/ # - Move current into docs/ -# 4) Trigger deploy to GitHub Actions +# 4) Trigger a deployment to GitHub Actions jobs: build-job: + if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -32,19 +39,32 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: Checkout cache + with: + ref: 'docs-cache' + path: 'docs-cache' + uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v3 with: distribution: temurin java-version: 8 - - uses: actions/cache@v3 - with: - path: docs-cache - key: docs-cache - name: Build docs with Gradle uses: gradle/gradle-build-action@v2 with: arguments: :produceDocs + - name: Commit files + working-directory: docs-cache + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git commit -a -m "Add changes" + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: docs-cache + directory: docs-cache - name: Setup Pages uses: actions/configure-pages@v2 - name: Upload artifact From 7ad1663017a6d0180040f7b9ff1887c747dc32bc Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 16:40:19 +0200 Subject: [PATCH 09/10] Fix wrong configuration of reading parent directory --- buildSrc/src/main/kotlin/Documentation.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/kotlin/Documentation.kt b/buildSrc/src/main/kotlin/Documentation.kt index 2f157d28f165..00ff9cb105d7 100644 --- a/buildSrc/src/main/kotlin/Documentation.kt +++ b/buildSrc/src/main/kotlin/Documentation.kt @@ -1,9 +1,10 @@ +import org.gradle.api.Project import org.gradle.kotlin.dsl.assign -import org.gradle.kotlin.dsl.dependencies import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask import org.jetbrains.dokka.gradle.AbstractDokkaTask import org.jetbrains.dokka.versioning.VersioningConfiguration import org.jetbrains.dokka.versioning.VersioningPlugin +import java.io.FileFilter import java.net.URL fun AbstractDokkaLeafTask.applyKordDokkaOptions() { @@ -36,15 +37,16 @@ fun AbstractDokkaLeafTask.applyKordDokkaOptions() { suppress = true } } - project.dependencies { - "dokkaHtmlPartialPlugin"(project.libs.findLibrary("dokka-versioning-plugin").get()) - } applyVersioningPlugin() } fun AbstractDokkaTask.applyVersioningPlugin() { pluginConfiguration { - olderVersions = listOf(project.rootProject.file("0.9.x")) + olderVersions = project.rootProject + .file("docs-cache").listFiles(FileFilter { it.isDirectory })?.toList() ?: emptyList() renderVersionsNavigationOnAllPages = true } } + +val Project.dokkaVersioningPlugin + get() = project.libs.findLibrary("dokka-versioning-plugin").get() From 76ef655f250945db0fd6be3673b53f5728574d63 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 18 Apr 2023 16:44:58 +0200 Subject: [PATCH 10/10] Update dependency declarations --- buildSrc/build.gradle.kts | 1 + buildSrc/src/main/kotlin/kord-module.gradle.kts | 1 + buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts | 1 + gradle/libs.versions.toml | 3 +-- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 71fc53572c32..2be5a3e06518 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -8,4 +8,5 @@ repositories { dependencies { implementation(libs.bundles.pluginsForBuildSrc) + implementation(libs.dokka.versioning.plugin) } diff --git a/buildSrc/src/main/kotlin/kord-module.gradle.kts b/buildSrc/src/main/kotlin/kord-module.gradle.kts index 1c7608680a4b..0b7c9f088b6f 100644 --- a/buildSrc/src/main/kotlin/kord-module.gradle.kts +++ b/buildSrc/src/main/kotlin/kord-module.gradle.kts @@ -17,6 +17,7 @@ repositories { dependencies { ksp(project(":ksp-processors")) + "dokkaHtmlPartialPlugin"(dokkaVersioningPlugin) } apiValidation { diff --git a/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts b/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts index 7af0ef7f09d1..28ebeeb63aad 100644 --- a/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts +++ b/buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts @@ -17,6 +17,7 @@ repositories { dependencies { kspCommonMainMetadata(project(":ksp-processors")) + "dokkaHtmlPartialPlugin"(dokkaVersioningPlugin) } apiValidation { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e7ffad06aeff..92f3bf983e0e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -54,6 +54,7 @@ kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-t kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" } kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" } kotlinx-nodejs = { module = "org.jetbrains.kotlin-wrappers:kotlin-node", version.ref = "kotlinx-nodejs" } +dokka-versioning-plugin = { module = "org.jetbrains.dokka:versioning-plugin", version.ref = "dokka" } # other kotlin-logging = { module = "io.github.microutils:kotlin-logging", version.ref = "kotlin-logging" } @@ -81,7 +82,6 @@ slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" } kotlin-jvm-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } kotlin-serialization-plugin = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" } dokka-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } -dokka-versioning-plugin = { module = "org.jetbrains.dokka:versioning-plugin", version.ref = "dokka" } atomicfu-plugin = { module = "org.jetbrains.kotlinx:atomicfu-gradle-plugin", version.ref = "kotlinx-atomicfu" } binary-compatibility-validator-plugin = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version.ref = "binary-compatibility-validator" } ksp-plugin = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version.ref = "ksp" } @@ -99,7 +99,6 @@ pluginsForBuildSrc = [ "kotlin-jvm-plugin", "kotlin-serialization-plugin", "dokka-plugin", - "dokka-versioning-plugin", "atomicfu-plugin", "binary-compatibility-validator-plugin", "ksp-plugin",