Skip to content

Updated to latest deps#211

Open
riggaroo wants to merge 2 commits into
mainfrom
deps
Open

Updated to latest deps#211
riggaroo wants to merge 2 commits into
mainfrom
deps

Conversation

@riggaroo
Copy link
Copy Markdown
Collaborator

No description provided.

@riggaroo riggaroo requested a review from tiwiz as a code owner May 28, 2026 10:16
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several dependencies, build tools, and SDK versions across the project, including upgrading Gradle, AGP, and targeting Android SDK 37. It also replaces SpatialLayoutSpacer with SpatialSpacer in the XR feature module. Feedback focuses on two main issues: first, targeting Android SDK 37 and Build Tools 37.0.0 is premature as they are not yet available, which will cause build failures across the build scripts and settings; second, the newly added androidx-compose-foundation dependency should omit an explicit version and instead rely on the Compose BOM to manage its version, making the explicit foundation version variable redundant.

Comment thread gradle/libs.versions.toml Outdated
androidx-camera-compose = { module = "androidx.camera:camera-compose", version.ref = "camerax" }
androidx-camera-core = { module = "androidx.camera:camera-core", version.ref = "camerax" }
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camerax" }
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "foundation" }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Since this project uses the Compose BOM (androidx-compose-bom), individual Compose libraries like foundation should not specify an explicit version. Instead, they should rely on the BOM to manage and align their versions. This prevents potential version mismatches and dependency resolution issues.

Suggested change
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "foundation" }
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" }

Comment thread build_presubmit_mobile.sh Outdated
Comment on lines +27 to +28
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Android SDK version 37 and Build Tools version 37.0.0 are not yet released or available in the Android SDK repository. Running sdkmanager with these versions will fail, causing the build script to exit with an error. Please verify if you meant SDK version 36 (Android 16) or if this was bumped prematurely.

Suggested change
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
ANDROID_SDK_VERSION="36"
ANDROID_BUILD_TOOLS_VERSION="36.0.0"

Comment thread build_presubmit_wear.sh Outdated
Comment on lines +27 to +28
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Android SDK version 37 and Build Tools version 37.0.0 are not yet released or available in the Android SDK repository. Running sdkmanager with these versions will fail, causing the build script to exit with an error. Please verify if you meant SDK version 36 (Android 16) or if this was bumped prematurely.

Suggested change
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
ANDROID_SDK_VERSION="36"
ANDROID_BUILD_TOOLS_VERSION="36.0.0"

Comment thread build_release_mobile.sh Outdated
Comment on lines +26 to +27
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Android SDK version 37 and Build Tools version 37.0.0 are not yet released or available in the Android SDK repository. Running sdkmanager with these versions will fail, causing the build script to exit with an error. Please verify if you meant SDK version 36 (Android 16) or if this was bumped prematurely.

Suggested change
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
ANDROID_SDK_VERSION="36"
ANDROID_BUILD_TOOLS_VERSION="36.0.0"

Comment thread build_release_wear.sh Outdated
Comment on lines +26 to +27
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Android SDK version 37 and Build Tools version 37.0.0 are not yet released or available in the Android SDK repository. Running sdkmanager with these versions will fail, causing the build script to exit with an error. Please verify if you meant SDK version 36 (Android 16) or if this was bumped prematurely.

Suggested change
ANDROID_SDK_VERSION="37"
ANDROID_BUILD_TOOLS_VERSION="37.0.0"
ANDROID_SDK_VERSION="36"
ANDROID_BUILD_TOOLS_VERSION="36.0.0"

Comment thread settings.gradle.kts
Comment on lines 38 to 43
compileSdk {
version = release(36)
version = release(37)
}
targetSdk {
version = release(36)
version = release(37)
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Compiling and targeting Android SDK 37 is premature as it is not yet released or available. This will cause build failures. Please revert to SDK 36 (Android 16) or the appropriate available version.

    compileSdk {
        version = release(36)
    }
    targetSdk {
        version = release(36)
    }

Comment thread gradle/libs.versions.toml
Comment on lines +32 to +34
firebaseBom = "34.13.0"
foundation = "1.12.0-alpha03"
genaiPrompt = "1.0.0-beta2"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since androidx-compose-foundation should be managed by the Compose BOM (androidx-compose-bom), the explicit foundation version variable is redundant and can be removed.

Suggested change
firebaseBom = "34.13.0"
foundation = "1.12.0-alpha03"
genaiPrompt = "1.0.0-beta2"
firebaseBom = "34.13.0"
genaiPrompt = "1.0.0-beta2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant