Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build crash issue due to sample failing #198

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
timeout-minutes: 55
strategy:
matrix:
api-level: [34]
api-level: [35]

steps:
- name: Delete unnecessary tools 🔧
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ java {

android {
namespace = "com.example.platform.app"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.platform.app"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
buildscript {
dependencies {
classpath("de.undercouch:gradle-download-task:4.1.2")
classpath(libs.gradle.download.task)
}
}

Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ androidx-window = "1.2.0"
agp = "8.5.2"
casa = "0.5.1"
coil = "2.4.0"
gradleDownloadTask = "4.1.2"
ksp = "1.9.22-1.0.17"
compose-bom = "2024.02.00"
composeCompiler = "1.5.9"
Expand Down Expand Up @@ -96,6 +97,7 @@ coil-video = { module = "io.coil-kt:coil-video", version.ref = "coil" }

google-ksp-api = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }

gradle-download-task = { module = "de.undercouch:gradle-download-task", version.ref = "gradleDownloadTask" }
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
hilt-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" }
hilt-testing = { group = "com.google.dagger", name = "hilt-android-testing", version.ref = "hilt" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class UltraHDRWithOpenGL : Fragment(),
}

companion object {
fun fromInt(value: Int) = ExtendedBrightnessValue.values().first { it.value == value }
fun fromInt(value: Int) = entries.first { it.value == value }
}
}

Expand Down
Loading