Skip to content

Commit

Permalink
Fix build crash issue due to sample fail
Browse files Browse the repository at this point in the history
  • Loading branch information
madebymozart committed Sep 23, 2024
1 parent d350573 commit f6f920c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
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

0 comments on commit f6f920c

Please sign in to comment.