Skip to content

Commit

Permalink
Update to snapshot Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
FooIbar committed May 11, 2024
1 parent 848b7c3 commit 7c97afa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,11 @@ subprojects {
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}

// TODO: Remove once Annotation 1.8.0 and Lifecycle 2.8.0 are out
configurations.all {
resolutionStrategy.force(
"androidx.annotation:annotation:1.8.0-rc01",
"androidx.lifecycle:lifecycle-runtime-compose:2.8.0-rc01",
)
}
4 changes: 2 additions & 2 deletions gradle/compose.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ accompanist = "0.35.0-alpha"
[libraries]
activity = "androidx.activity:activity-compose:1.9.0"
bom = { group = "dev.chrisbanes.compose", name = "compose-bom", version.ref = "compose-bom" }
foundation = { module = "androidx.compose.foundation:foundation" }
foundation = { module = "androidx.compose.foundation:foundation", version = "1.7.0-SNAPSHOT" }
animation = { module = "androidx.compose.animation:animation" }
animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
ui-util = { module = "androidx.compose.ui:ui-util" }

material3-core = { module = "androidx.compose.material3:material3" }
material3-core = { module = "androidx.compose.material3:material3", version = "1.3.0-SNAPSHOT" }
material-icons = { module = "androidx.compose.material:material-icons-extended" }

glance = "androidx.glance:glance-appwidget:1.0.0"
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ dependencyResolutionManagement {
mavenCentral()
google()
maven(url = "https://www.jitpack.io")
// TODO: Remove on Compose 1.7.0-beta02
maven("https://androidx.dev/snapshots/builds/11827948/artifacts/repository")
}
}

Expand Down

0 comments on commit 7c97afa

Please sign in to comment.