Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-kdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v3

- name: Build KDoc
run: ./gradlew --no-daemon --no-configuration-cache lib:dokkaHtml
run: ./gradlew --build-cache --configuration-cache lib:dokkaGenerate

- name: Publish KDoc
if: success()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# uses: github/codeql-action/autobuild@v2

- name: Build
run: ./gradlew --no-daemon lib:assemble
run: ./gradlew --no-daemon --configuration-cache --build-cache lib:assemble

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v3

- name: Check
run: ./gradlew lib:check
run: ./gradlew --configuration-cache --build-cache lib:check

test_on_emulator:
name: Tests with emulator
Expand All @@ -45,4 +45,4 @@ jobs:
key: avd-${{ hashFiles('lib/build.gradle.kts') }} # gradle-managed devices are defined there

- name: Run device tests
run: ./gradlew --no-daemon lib:virtualCheck
run: ./gradlew --configuration-cache --build-cache lib:virtualCheck
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.dokka) apply false
alias(libs.plugins.kotlin.android) apply false
}

group = "at.bitfire"
version = System.getenv("GIT_COMMIT")
version = System.getenv("GIT_COMMIT")
6 changes: 2 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ org.gradle.daemon=true
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m
org.gradle.parallel=true

# configuration cache [https://developer.android.com/build/optimize-your-build#use-the-configuration-cache-experimental]
org.gradle.unsafe.configuration-cache=true
org.gradle.unsafe.configuration-cache-problems=warn

# Android
android.useAndroidX=true
# Dokka
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ androidx-test-runner = "1.6.2"
androidx-test-rules = "1.6.1"
conscrypt = "2.5.3"
compose-bom = "2025.06.01"
dokka = "1.9.20"
dokka = "2.0.0"
junit = "4.13.2"
kotlin = "2.2.0"
mockk = "1.14.4"
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ android {
localDevices {
create("virtual") {
device = "Pixel 3"
apiLevel = 33
apiLevel = 35
systemImageSource = "aosp-atd"
}
}
Expand Down
Loading