Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chikoski committed Feb 27, 2025
1 parent 774dfab commit fddb073
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions JetStreamCompose/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
.cxx
/.idea/
local.properties
.kotlin
3 changes: 3 additions & 0 deletions JetStreamCompose/benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ dependencies {
// Use 1.2.0-alpha03 or above versions for benchmarking TV apps
implementation(libs.androidx.benchmark.macro.junit4)
implementation(libs.androidx.rules)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.runtime)
}

androidComponents {
Expand Down
1 change: 1 addition & 0 deletions JetStreamCompose/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "core-splashscreen" }
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hilt-navigation-compose" }
Expand Down
4 changes: 4 additions & 0 deletions JetStreamCompose/jetstream/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ import com.google.jetstream.presentation.screens.videoPlayer.components.VideoPla
import com.google.jetstream.presentation.screens.videoPlayer.components.rememberVideoPlayerPulseState
import com.google.jetstream.presentation.screens.videoPlayer.components.rememberVideoPlayerState
import com.google.jetstream.presentation.utils.handleDPadKeyEvents
import kotlinx.coroutines.delay
import kotlin.time.Duration.Companion.milliseconds
import kotlinx.coroutines.delay

object VideoPlayerScreen {
const val MovieIdBundleKey = "movieId"
Expand Down

0 comments on commit fddb073

Please sign in to comment.