Skip to content

Commit 3867b42

Browse files
committed
Update dependencies, including XR to alpha07
1 parent fdc8296 commit 3867b42

File tree

7 files changed

+31
-32
lines changed

7 files changed

+31
-32
lines changed

xr-fundamentals/part1/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ plugins {
2222

2323
android {
2424
namespace = "com.example.android.xrfundamentals"
25-
compileSdk = 35
25+
compileSdk = 36
2626

2727
defaultConfig {
2828
applicationId = "com.example.android.xrfundamentals"
2929
minSdk = 34
30-
targetSdk = 35
30+
targetSdk = 36
3131
versionCode = 1
3232
versionName = "1.0"
3333

xr-fundamentals/part1/app/src/main/java/com/example/android/xrfundamentals/XRFundamentalsApp.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ import androidx.compose.ui.unit.dp
3030
import androidx.window.core.layout.WindowSizeClass
3131
import androidx.window.core.layout.WindowWidthSizeClass
3232
import androidx.xr.compose.spatial.Subspace
33+
import androidx.xr.compose.subspace.DragPolicy
34+
import androidx.xr.compose.subspace.MovePolicy
3335
import androidx.xr.compose.subspace.SpatialCurvedRow
3436
import androidx.xr.compose.subspace.SpatialPanel
3537
import androidx.xr.compose.subspace.layout.SubspaceModifier
@@ -104,8 +106,8 @@ fun XRFundamentalsApp(
104106
SpatialPanel(
105107
modifier = SubspaceModifier
106108
.width(340.dp)
107-
.height(800.dp)
108-
.movable(true)
109+
.height(800.dp),
110+
dragPolicy = MovePolicy()
109111
) {
110112
Surface {
111113
SecondaryCardList(

xr-fundamentals/part1/gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[versions]
2-
agp = "8.13.0-alpha03"
3-
kotlin = "2.2.0"
4-
coreKtx = "1.16.0"
2+
agp = "8.13.0"
3+
kotlin = "2.2.20"
4+
coreKtx = "1.17.0"
55
junit = "4.13.2"
66
junitVersion = "1.3.0"
77
espressoCore = "3.7.0"
8-
lifecycleRuntimeKtx = "2.9.2"
9-
activityCompose = "1.10.1"
10-
composeBom = "2025.07.00"
8+
lifecycleRuntimeKtx = "2.9.4"
9+
activityCompose = "1.11.0"
10+
composeBom = "2025.10.00"
1111
composeMaterialAdaptive = "1.1.0"
12-
xrCompose = "1.0.0-alpha05"
12+
xrCompose = "1.0.0-alpha07"
1313

1414
[libraries]
1515
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }

xr-fundamentals/part2/app/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ plugins {
2222

2323
android {
2424
namespace = "com.example.android.xrfundamentals"
25-
compileSdk = 35
25+
compileSdk = 36
2626

2727
defaultConfig {
2828
applicationId = "com.example.android.xrfundamentals"
2929
minSdk = 34
30-
targetSdk = 35
30+
targetSdk = 36
3131
versionCode = 1
3232
versionName = "1.0"
3333

@@ -67,7 +67,6 @@ dependencies {
6767
implementation(libs.androidx.material3.adaptive)
6868
implementation(libs.androidx.xr.compose)
6969
implementation(libs.androidx.xr.scenecore)
70-
implementation(libs.jetbrains.kotlinx.coroutines.guava)
7170
testImplementation(libs.junit)
7271
androidTestImplementation(libs.androidx.junit)
7372
androidTestImplementation(libs.androidx.espresso.core)

xr-fundamentals/part2/gradle/libs.versions.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[versions]
2-
agp = "8.13.0-alpha03"
3-
kotlin = "2.2.0"
4-
coreKtx = "1.16.0"
2+
agp = "8.13.0"
3+
kotlin = "2.2.20"
4+
coreKtx = "1.17.0"
55
junit = "4.13.2"
66
junitVersion = "1.3.0"
77
espressoCore = "3.7.0"
8-
lifecycleRuntimeKtx = "2.9.2"
9-
activityCompose = "1.10.1"
10-
composeBom = "2025.07.00"
8+
lifecycleRuntimeKtx = "2.9.4"
9+
activityCompose = "1.11.0"
10+
composeBom = "2025.10.00"
1111
composeMaterialAdaptive = "1.1.0"
12-
xrCompose = "1.0.0-alpha05"
13-
xrSceneCore = "1.0.0-alpha05"
14-
kotlinxCoroutinesGuava = "1.10.2"
12+
xrCompose = "1.0.0-alpha07"
13+
xrSceneCore = "1.0.0-alpha07"
1514

1615
[libraries]
1716
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
@@ -31,7 +30,6 @@ androidx-material3 = { group = "androidx.compose.material3", name = "material3"
3130
androidx-material3-adaptive = { group = "androidx.compose.material3.adaptive", name = "adaptive", version.ref = "composeMaterialAdaptive" }
3231
androidx-xr-compose = { group = "androidx.xr.compose", name = "compose", version.ref = "xrCompose" }
3332
androidx-xr-scenecore = { group = "androidx.xr.scenecore", name = "scenecore", version.ref = "xrSceneCore"}
34-
jetbrains-kotlinx-coroutines-guava = {group = "org.jetbrains.kotlinx", name="kotlinx-coroutines-guava", version.ref = "kotlinxCoroutinesGuava"}
3533

3634
[plugins]
3735
android-application = { id = "com.android.application", version.ref = "agp" }

xr-fundamentals/start/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ plugins {
2222

2323
android {
2424
namespace = "com.example.android.xrfundamentals"
25-
compileSdk = 35
25+
compileSdk = 36
2626

2727
defaultConfig {
2828
applicationId = "com.example.android.xrfundamentals"
2929
minSdk = 34
30-
targetSdk = 35
30+
targetSdk = 36
3131
versionCode = 1
3232
versionName = "1.0"
3333

xr-fundamentals/start/gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[versions]
2-
agp = "8.13.0-alpha03"
3-
kotlin = "2.2.0"
4-
coreKtx = "1.16.0"
2+
agp = "8.13.0"
3+
kotlin = "2.2.20"
4+
coreKtx = "1.17.0"
55
junit = "4.13.2"
66
junitVersion = "1.3.0"
77
espressoCore = "3.7.0"
8-
lifecycleRuntimeKtx = "2.9.2"
9-
activityCompose = "1.10.1"
10-
composeBom = "2025.07.00"
8+
lifecycleRuntimeKtx = "2.9.4"
9+
activityCompose = "1.11.0"
10+
composeBom = "2025.10.00"
1111
composeMaterialAdaptive = "1.1.0"
1212

1313
[libraries]

0 commit comments

Comments
 (0)