Skip to content

Commit 82e5bf0

Browse files
Merge pull request #704 from android/ss/v1.1.0-beta03
[All] Update to Compose 1.1.0-beta03
2 parents e9aac1e + f868a42 commit 82e5bf0

15 files changed

Lines changed: 25 additions & 25 deletions

File tree

Crane/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ buildscript {
3030
}
3131

3232
plugins {
33-
id 'com.diffplug.spotless' version '5.17.1'
33+
id 'com.diffplug.spotless' version '6.0.0'
3434
}
3535

3636
subprojects {

Crane/buildSrc/src/main/java/com/example/crane/buildsrc/Dependencies.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ object Libs {
3434
}
3535

3636
object Accompanist {
37-
const val version = "0.21.2-beta"
37+
const val version = "0.21.3-beta"
3838
const val insets = "com.google.accompanist:accompanist-insets:$version"
3939
}
4040

@@ -60,7 +60,7 @@ object Libs {
6060

6161
object Compose {
6262
const val snapshot = ""
63-
const val version = "1.1.0-beta02"
63+
const val version = "1.1.0-beta03"
6464

6565
const val runtime = "androidx.compose.runtime:runtime:$version"
6666
const val runtimeLivedata = "androidx.compose.runtime:runtime-livedata:$version"

JetNews/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ dependencies {
118118

119119
implementation 'androidx.navigation:navigation-compose:2.4.0-beta02'
120120

121-
implementation "androidx.window:window:1.0.0-beta03"
121+
implementation "androidx.window:window:1.0.0-beta04"
122122

123123
androidTestImplementation 'androidx.test:core:1.4.0'
124124
androidTestImplementation 'androidx.test:rules:1.4.0'

JetNews/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
buildscript {
1818
ext.kotlin_version = '1.5.31'
19-
ext.compose_version = '1.1.0-beta02'
19+
ext.compose_version = '1.1.0-beta03'
2020
ext.coroutines_version = '1.5.2'
21-
ext.accompanist_version = '0.21.2-beta'
21+
ext.accompanist_version = '0.21.3-beta'
2222

2323
repositories {
2424
google()
@@ -32,7 +32,7 @@ buildscript {
3232
}
3333

3434
plugins {
35-
id 'com.diffplug.spotless' version '5.17.1'
35+
id 'com.diffplug.spotless' version '6.0.0'
3636
}
3737

3838
subprojects {

Jetcaster/app/src/main/java/com/example/jetcaster/ui/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import androidx.core.view.WindowCompat
2323
import androidx.lifecycle.flowWithLifecycle
2424
import androidx.lifecycle.lifecycleScope
2525
import androidx.window.layout.FoldingFeature
26-
import androidx.window.layout.WindowInfoRepository.Companion.windowInfoRepository
26+
import androidx.window.layout.WindowInfoTracker.Companion.getOrCreate
2727
import com.example.jetcaster.ui.theme.JetcasterTheme
2828
import com.example.jetcaster.util.DevicePosture
2929
import com.example.jetcaster.util.isBookPosture
@@ -43,7 +43,7 @@ class MainActivity : ComponentActivity() {
4343
/**
4444
* Flow of [DevicePosture] that emits every time there's a change in the windowLayoutInfo
4545
*/
46-
val devicePosture = windowInfoRepository().windowLayoutInfo
46+
val devicePosture = getOrCreate(this).windowLayoutInfo(this)
4747
.flowWithLifecycle(this.lifecycle)
4848
.map { layoutInfo ->
4949
val foldingFeature =

Jetcaster/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ buildscript {
3030
}
3131

3232
plugins {
33-
id 'com.diffplug.spotless' version '5.17.1'
33+
id 'com.diffplug.spotless' version '6.0.0'
3434
}
3535

3636
subprojects {

Jetcaster/buildSrc/src/main/java/com/example/jetcaster/buildsrc/dependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object Libs {
2525
const val jdkDesugar = "com.android.tools:desugar_jdk_libs:1.1.5"
2626

2727
object Accompanist {
28-
const val version = "0.21.2-beta"
28+
const val version = "0.21.3-beta"
2929
const val insets = "com.google.accompanist:accompanist-insets:$version"
3030
const val pager = "com.google.accompanist:accompanist-pager:$version"
3131
}
@@ -71,7 +71,7 @@ object Libs {
7171

7272
object Compose {
7373
const val snapshot = ""
74-
const val version = "1.1.0-beta02"
74+
const val version = "1.1.0-beta03"
7575

7676
@get:JvmStatic
7777
val snapshotUrl: String
@@ -120,7 +120,7 @@ object Libs {
120120
}
121121

122122
object Window {
123-
const val window = "androidx.window:window:1.0.0-beta02"
123+
const val window = "androidx.window:window:1.0.0-beta04"
124124
}
125125
}
126126

Jetchat/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ buildscript {
3232
}
3333

3434
plugins {
35-
id 'com.diffplug.spotless' version '5.17.1'
35+
id 'com.diffplug.spotless' version '6.0.0'
3636
}
3737

3838
subprojects {

Jetchat/buildSrc/src/main/java/com/example/compose/jetchat/buildsrc/dependencies.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ object Libs {
2929
const val material3 = "com.google.android.material:material:1.5.0-alpha05"
3030

3131
object Accompanist {
32-
const val version = "0.21.2-beta"
32+
const val version = "0.21.3-beta"
3333
const val insets = "com.google.accompanist:accompanist-insets:$version"
3434
}
3535

@@ -57,7 +57,7 @@ object Libs {
5757

5858
object Compose {
5959
const val snapshot = ""
60-
const val version = "1.1.0-beta02"
60+
const val version = "1.1.0-beta03"
6161

6262
const val foundation = "androidx.compose.foundation:foundation:$version"
6363
const val layout = "androidx.compose.foundation:foundation-layout:$version"

Jetsnack/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ buildscript {
2929
}
3030

3131
plugins {
32-
id 'com.diffplug.spotless' version '5.17.1'
32+
id 'com.diffplug.spotless' version '6.0.0'
3333
}
3434

3535
subprojects {

0 commit comments

Comments
 (0)