Skip to content

Commit

Permalink
Update dependencies (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunkup authored Jan 7, 2025
1 parent 0ad5697 commit 71be68a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- uses: gradle/actions/setup-gradle@v4

# Initializes the CodeQL tools for scanning.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Prepare keystore
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 @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Check
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Enable KVM group perms
Expand Down
11 changes: 6 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ android {
compileOptions {
isCoreLibraryDesugaringEnabled = true

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

kotlinOptions {
jvmTarget = "21"
}

buildFeatures {
Expand Down Expand Up @@ -83,9 +87,6 @@ android {
disable.addAll(
listOf("ExtraTranslation", "MissingTranslation", "InvalidPackage", "OnClick")
)
// TODO: Remove on the next Compose release, should be fixed
// Maybe related to https://issuetracker.google.com/issues/298483892
disable += "CoroutineCreationDuringComposition"
}

packaging {
Expand Down
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ androidx-test-runner = "1.6.2"
androidx-work = "2.10.0"
bitfire-cert4android = "f0964cb"
bitfire-ical4android = "505f74771e"
# Keep in sync with Kotlin version: https://developer.android.com/jetpack/androidx/releases/compose-kotlin
compose-compiler = "1.5.14"
compose-dialogs = "1.3.0"
compose-material = "1.7.6"
compose-material3 = "1.3.1"
Expand Down Expand Up @@ -59,6 +57,7 @@ junit = { module = "junit:junit", version.ref = "junit" }
kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
okhttp-base = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
okhttp-brotli = { module = "com.squareup.okhttp3:okhttp-brotli", version.ref = "okhttp" }
# Use okhttp-coroutines and remove "Call.executeAsync" calls once OkHttp 5.0 stable is released
okhttp-coroutines = { module = "com.squareup.okhttp3:okhttp-coroutines", version.ref = "okhttp" }
okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okhttp" }
room-base = { module = "androidx.room:room-ktx", version.ref = "room" }
Expand Down

0 comments on commit 71be68a

Please sign in to comment.