Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 37dbddc

Browse files
authored
Merge branch 'android:main' into Kotlin-2.0
2 parents 5b7b9d0 + eb0ed27 commit 37dbddc

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

.github/workflows/android.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ jobs:
2626
runs-on: ubuntu-latest
2727

2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030

3131
- name: set up JDK 17
32-
uses: actions/setup-java@v1
32+
uses: actions/setup-java@v4
3333
with:
34-
java-version: 17
34+
distribution: 'zulu'
35+
java-version: '17'
3536

3637
- name: Generate cache key
3738
run: .github/scripts/checksum.sh checksum.txt
3839

39-
- uses: actions/cache@v2
40+
- uses: actions/cache@v4
4041
with:
4142
path: |
4243
~/.gradle/caches/modules-*
@@ -53,7 +54,6 @@ jobs:
5354
run: zip -r assemble.zip . -i '**/build/*.apk' '**/build/*.aab' '**/build/*.aar' '**/build/*.so'
5455

5556
- name: Upload artifacts
56-
uses: actions/upload-artifact@v1
57+
uses: actions/upload-artifact@v4
5758
with:
58-
name: assemble
5959
path: assemble.zip

CanonicalLayouts/list-detail-compose/app/build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ composeCompiler {
6666
}
6767

6868
dependencies {
69-
def composeBom = platform('androidx.compose:compose-bom:2024.08.00')
69+
def composeBom = platform('androidx.compose:compose-bom:2024.09.00')
7070
implementation(composeBom)
7171

7272
implementation "com.google.accompanist:accompanist-adaptive:0.32.0"
7373
implementation 'androidx.core:core-ktx:1.13.1'
74-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.4'
74+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.5'
7575
implementation 'androidx.activity:activity-compose:1.9.2'
76-
implementation "androidx.compose.foundation:foundation:1.6.8"
77-
implementation "androidx.compose.ui:ui:1.6.8"
76+
implementation "androidx.compose.foundation:foundation:1.7.0"
77+
implementation "androidx.compose.ui:ui:1.7.0"
7878
implementation "androidx.compose.ui:ui-tooling-preview"
7979
implementation "androidx.window:window:1.3.0"
80-
implementation 'androidx.compose.material3:material3:1.3.0-rc01'
81-
implementation 'androidx.compose.material3.adaptive:adaptive:1.1.0-alpha01'
82-
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha01'
83-
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.1.0-alpha01'
84-
implementation "androidx.compose.material3:material3-window-size-class:1.3.0-rc01"
85-
implementation "androidx.compose.animation:animation:1.7.0-rc01"
80+
implementation 'androidx.compose.material3:material3:1.3.0'
81+
implementation 'androidx.compose.material3.adaptive:adaptive:1.1.0-alpha02'
82+
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha02'
83+
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.1.0-alpha02'
84+
implementation "androidx.compose.material3:material3-window-size-class:1.3.0"
85+
implementation "androidx.compose.animation:animation:1.7.0"
8686
testImplementation 'junit:junit:4.13.2'
8787
}

CanonicalLayouts/list-detail-compose/app/src/main/java/com/example/listdetailcompose/ui/ListDetailSample.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fun ListDetailSample() {
9797
var selectedWordIndex: Int? by rememberSaveable { mutableStateOf(null) }
9898
val navigator = rememberListDetailPaneScaffoldNavigator<Nothing>()
9999
val isListAndDetailVisible =
100-
currentWindowAdaptiveInfo().windowSizeClass.windowWidthSizeClass == WindowWidthSizeClass.EXPANDED
100+
navigator.scaffoldValue[ListDetailPaneScaffoldRole.Detail] == PaneAdaptedValue.Expanded && navigator.scaffoldValue[ListDetailPaneScaffoldRole.List] == PaneAdaptedValue.Expanded
101101

102102
BackHandler(enabled = navigator.canNavigateBack()) {
103103
navigator.navigateBack()

CanonicalLayouts/supporting-pane-compose/app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ composeCompiler {
6868
}
6969

7070
dependencies {
71-
def composeBom = platform('androidx.compose:compose-bom:2024.08.00')
71+
def composeBom = platform('androidx.compose:compose-bom:2024.09.00')
7272
implementation(composeBom)
7373

7474
implementation 'androidx.core:core-ktx:1.13.1'
75-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.4'
76-
implementation 'androidx.activity:activity-compose:1.9.1'
75+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.5'
76+
implementation 'androidx.activity:activity-compose:1.9.2'
7777
implementation "androidx.compose.ui:ui"
7878
implementation "androidx.compose.ui:ui-tooling-preview"
7979
implementation "androidx.window:window:1.3.0"
80-
implementation 'androidx.compose.material3:material3:1.3.0-rc01'
81-
implementation 'androidx.compose.material3.adaptive:adaptive:1.1.0-alpha01'
82-
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha01'
83-
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.1.0-alpha01'
84-
implementation "androidx.compose.material3:material3-window-size-class:1.3.0-rc01"
80+
implementation 'androidx.compose.material3:material3:1.3.0'
81+
implementation 'androidx.compose.material3.adaptive:adaptive:1.1.0-alpha02'
82+
implementation 'androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha02'
83+
implementation 'androidx.compose.material3.adaptive:adaptive-navigation:1.1.0-alpha02'
84+
implementation "androidx.compose.material3:material3-window-size-class:1.3.0"
8585
testImplementation 'junit:junit:4.13.2'
8686
}

0 commit comments

Comments
 (0)