Skip to content

Commit a8c6c33

Browse files
authored
Merge pull request #164 from android/feature/app-updates
Update dependencies
2 parents 440cd53 + c67e6ec commit a8c6c33

File tree

4 files changed

+60
-49
lines changed

4 files changed

+60
-49
lines changed

app/src/main/java/com/android/developers/androidify/navigation/MainNavigation.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ import androidx.compose.runtime.setValue
3333
import androidx.compose.ui.platform.LocalContext
3434
import androidx.compose.ui.platform.LocalUriHandler
3535
import androidx.compose.ui.unit.IntOffset
36-
import androidx.hilt.navigation.compose.hiltViewModel
36+
import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel
3737
import androidx.lifecycle.viewmodel.navigation3.rememberViewModelStoreNavEntryDecorator
38-
import androidx.navigation3.runtime.entry
3938
import androidx.navigation3.runtime.entryProvider
40-
import androidx.navigation3.runtime.rememberSavedStateNavEntryDecorator
39+
import androidx.navigation3.runtime.rememberSaveableStateHolderNavEntryDecorator
4140
import androidx.navigation3.ui.NavDisplay
4241
import com.android.developers.androidify.camera.CameraPreviewScreen
4342
import com.android.developers.androidify.creation.CreationScreen
@@ -66,7 +65,7 @@ fun MainNavigation() {
6665
backStack = backStack,
6766
onBack = { backStack.removeLastOrNull() },
6867
entryDecorators = listOf(
69-
rememberSavedStateNavEntryDecorator(),
68+
rememberSaveableStateHolderNavEntryDecorator(),
7069
rememberViewModelStoreNavEntryDecorator(),
7170
),
7271
transitionSpec = {

core/xr/src/main/java/com/android/developers/androidify/xr/SharedTransitions.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ private fun shimSharedTransitionScope(original: SharedTransitionScope): SharedTr
5555
override val isTransitionActive: Boolean
5656
get() = false
5757

58-
override fun Modifier.skipToLookaheadSize(): Modifier = this
58+
override fun Modifier.skipToLookaheadSize(enabled: () -> Boolean) = this
5959

6060
override fun Modifier.renderInSharedTransitionScopeOverlay(
6161
zIndexInOverlay: Float,
62-
renderInOverlay: (SharedTransitionScope) -> Boolean,
62+
renderInOverlay: () -> Boolean,
6363
) = this
6464

6565
override fun Modifier.sharedElement(
6666
sharedContentState: SharedTransitionScope.SharedContentState,
6767
animatedVisibilityScope: AnimatedVisibilityScope,
6868
boundsTransform: BoundsTransform,
69-
placeHolderSize: SharedTransitionScope.PlaceHolderSize,
69+
placeholderSize: SharedTransitionScope.PlaceholderSize,
7070
renderInOverlayDuringTransition: Boolean,
7171
zIndexInOverlay: Float,
7272
clipInOverlayDuringTransition: SharedTransitionScope.OverlayClip,
@@ -79,7 +79,7 @@ private fun shimSharedTransitionScope(original: SharedTransitionScope): SharedTr
7979
exit: ExitTransition,
8080
boundsTransform: BoundsTransform,
8181
resizeMode: SharedTransitionScope.ResizeMode,
82-
placeHolderSize: SharedTransitionScope.PlaceHolderSize,
82+
placeholderSize: SharedTransitionScope.PlaceholderSize,
8383
renderInOverlayDuringTransition: Boolean,
8484
zIndexInOverlay: Float,
8585
clipInOverlayDuringTransition: SharedTransitionScope.OverlayClip,
@@ -89,7 +89,7 @@ private fun shimSharedTransitionScope(original: SharedTransitionScope): SharedTr
8989
sharedContentState: SharedTransitionScope.SharedContentState,
9090
visible: Boolean,
9191
boundsTransform: BoundsTransform,
92-
placeHolderSize: SharedTransitionScope.PlaceHolderSize,
92+
placeholderSize: SharedTransitionScope.PlaceholderSize,
9393
renderInOverlayDuringTransition: Boolean,
9494
zIndexInOverlay: Float,
9595
clipInOverlayDuringTransition: SharedTransitionScope.OverlayClip,

gradle/libs.versions.toml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
appVersionCode = "10"
44
appVersionName = "1.3.0"
55
appVersionWearOffset = "60000000"
6-
agp = "8.11.1"
7-
bcpkixJdk18on = "1.81"
6+
agp = "8.12.0"
7+
bcpkixJdk18on = "1.82"
88
compileSdk = "36"
9-
core = "1.5.0"
10-
extensionsXr = "1.0.0"
9+
core = "1.7.0"
10+
extensionsXr = "1.1.0"
1111
leakcanaryAndroid = "2.14"
1212
minSdk = "26"
1313
javaVersion = "17"
@@ -16,75 +16,75 @@ wearMinSdk = "36"
1616

1717
#dependencies
1818
accompanist = "0.37.3"
19-
activityCompose = "1.10.1"
19+
activityCompose = "1.11.0"
2020
adaptive = "1.1.0"
21-
animationAndroid = "1.8.3"
22-
apksig = "9.0.0-alpha02"
21+
animationAndroid = "1.9.3"
22+
apksig = "9.0.0-alpha06"
2323
appcompat = "1.7.1"
24-
baselineprofile = "1.4.0"
25-
benchmarkMacroJunit4 = "1.4.0"
26-
camerax = "1.5.0-beta02"
24+
baselineprofile = "1.4.1"
25+
benchmarkMacroJunit4 = "1.4.1"
26+
camerax = "1.5.1"
2727
coilCompose = "3.3.0"
2828
coilGif = "3.3.0"
29-
composeBom = "2025.08.00"
30-
concurrent = "1.2.0"
29+
composeBom = "2025.10.00"
30+
concurrent = "1.3.0"
3131
converterGson = "2.11.0"
32-
coreKtx = "1.16.0"
32+
coreKtx = "1.17.0"
3333
coreSplashscreen = "1.0.1"
34-
crashlytics = "3.0.4"
34+
crashlytics = "3.0.6"
3535
datastore = "1.1.7"
36-
espressoCore = "3.6.1"
37-
firebaseBom = "34.2.0"
38-
googleServices = "4.4.3"
39-
googleOss = "17.2.0"
40-
googleOssPlugin = "0.10.6"
41-
guava = "33.4.8-android"
42-
hiltAndroid = "2.56.2"
36+
espressoCore = "3.7.0"
37+
firebaseBom = "34.4.0"
38+
googleServices = "4.4.4"
39+
googleOss = "17.3.0"
40+
googleOssPlugin = "0.10.9"
41+
guava = "33.5.0-android"
42+
hiltAndroid = "2.57.2"
4343
hiltLifecycleViewmodel = "1.0.0-alpha03"
44-
hiltNavigationCompose = "1.2.0"
44+
hiltNavigationCompose = "1.3.0"
4545
horologist = "0.7.15"
4646
junit = "4.13.2"
4747
junitVersion = "1.3.0"
4848
kotlin = "2.2.0"
4949
ksp = "2.2.0-2.0.2"
5050
kotlinxCoroutines = "1.10.2"
51-
kotlinxSerialization = "2.2.0"
51+
kotlinxSerialization = "2.2.20"
5252
kotlinxSerializationJson = "1.9.0"
53-
kotlinxSerializationProtobuf = "1.8.1"
53+
kotlinxSerializationProtobuf = "1.9.0"
5454
ktlint = "1.5.0"
55-
lifecycleRuntimeKtx = "2.9.1"
56-
lifecycleViewmodelNavigation3 = "1.0.0-alpha03"
57-
loggingInterceptor = "5.1.0"
55+
lifecycleRuntimeKtx = "2.9.4"
56+
lifecycleViewmodelNavigation3 = "1.0.0-alpha04"
57+
loggingInterceptor = "5.2.1"
5858
material = "1.12.0"
59-
media3 = "1.7.1"
60-
navigation3 = "1.0.0-alpha05"
59+
media3 = "1.8.0"
60+
navigation3 = "1.0.0-alpha11"
6161
okhttp = "4.12.0"
6262
playServicesWearable = "19.0.0"
63-
playServicesBaseTesting = "16.1.0"
63+
playServicesBaseTesting = "16.2.0"
6464
poseDetection = "18.0.0-beta5"
6565
profileinstaller = "1.4.1"
6666
retrofit = "2.11.0"
67-
robolectric = "4.14.1"
68-
spotless = "7.0.2"
67+
robolectric = "4.16"
68+
spotless = "8.0.0"
6969
startup = "1.2.0"
70-
runner = "1.6.2"
71-
uiTextGoogleFonts = "1.8.3"
72-
uiautomator = "2.4.0-alpha05"
73-
uiTooling = "1.8.3"
70+
runner = "1.7.0"
71+
uiTextGoogleFonts = "1.9.3"
72+
uiautomator = "2.4.0-alpha06"
73+
uiTooling = "1.9.3"
7474
validatorPush = "1.0.0-alpha08"
7575
watchFacePush = "1.0.0-alpha01"
7676
wear = "1.3.0"
7777
wearCompose = "1.5.0"
7878
wearComposeTooling = "1.4.1"
7979
wearRemoteInteractions = "1.1.0"
80-
window = "1.4.0"
80+
window = "1.5.0"
8181
aiEdge = "0.0.1-exp02"
82-
lifecycleProcess = "2.9.1"
82+
lifecycleProcess = "2.9.4"
8383
mlkitCommon = "18.11.0"
8484
mlkitSegmentation = "16.0.0-beta1"
85-
playServicesBase = "18.7.2"
85+
playServicesBase = "18.9.0"
8686
timber = "5.0.1"
87-
workRuntimeKtx = "2.10.4"
87+
workRuntimeKtx = "2.10.5"
8888
xr-compose = "1.0.0-alpha07"
8989

9090
[libraries]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
build_file: "androidify/kokoro/gcp_ubuntu_docker/kokoro_build_wear_release.sh"
2+
3+
action {
4+
define_artifacts {
5+
regex: "artifacts/**.aab"
6+
regex: "artifacts/**.intoto.jsonl"
7+
sbom_regex: "artifacts/app-release.spdx.json"
8+
# Optional: Removes the "artifacts/" part from the path in the artifact storage
9+
strip_prefix: "artifacts"
10+
fail_if_no_artifacts: true
11+
}
12+
}

0 commit comments

Comments
 (0)