Skip to content

Commit

Permalink
Upgrade to dokka v2.0.0-Beta (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
sargunv authored Nov 27, 2024
1 parent cf344ef commit 2983644
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
with:
fetch-depth: 0
- uses: "./.github/actions/setup"
- run: "./gradlew dokkaHtmlMultiModule"
- run: "./gradlew :dokkaGenerate"
- uses: "actions/upload-pages-artifact@v3"
with:
path: "build/dokka/htmlMultiModule"
path: "build/dokka/html"

build-android-app:
runs-on: "ubuntu-latest"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
with:
fetch-depth: 0
- uses: "./.github/actions/setup"
- run: "./gradlew dokkaHtmlMultiModule"
- run: "./gradlew :dokkaGenerate"
- uses: "actions/upload-pages-artifact@v3"
with:
path: "build/dokka/htmlMultiModule"
path: "build/dokka/html"
- uses: "actions/deploy-pages@v4"
id: "deploy-pages"
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ plugins {
alias(libs.plugins.dokka)
}

dokka { moduleName = "MapLibre Compose" }

dependencies { dokka(project(":lib:maplibre-compose:")) }

spotless {
kotlinGradle { ktfmt().googleStyle() }
format("swift") {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LIBRARY_VERSION=0.1.1-SNAPSHOT
kotlin.code.style=official
kotlin.daemon.jvmargs=-Xmx2048M
org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers
# Blocker: https://github.com/diffplug/spotless/issues/2347
org.gradle.configuration-cache=false
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spatialk-geojson = { group = "io.github.dellisd.spatialk", name = "geojson", ver
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
dokka = { id = "org.jetbrains.dokka", version = "1.9.20" }
dokka = { id = "org.jetbrains.dokka", version = "2.0.0-Beta" }
jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose" }
jgitver = { id = "fr.brouillard.oss.gradle.jgitver", version = "0.10.0-rc03" }
kotlin-cocoapods = { id = "org.jetbrains.kotlin.native.cocoapods", version.ref = "kotlin" }
Expand Down

0 comments on commit 2983644

Please sign in to comment.