Bump targetSdk to 35 and Gradle to 8.1.0#113
Open
pimpimmi wants to merge 2 commits into
Open
Conversation
- Bump compileSdk/targetSdk to 35 and minSdk to 21 - Bump AGP to 8.1.0 and Gradle wrapper to 8.5 - Bump Robolectric to 4.14.1 for SDK 35 support - Remove Jetifier (not needed with pure AndroidX dependencies) - Add default manifest placeholders in auth-lib defaultConfig - Fix redirectPathPattern in auth-sample to start with / - Add compileOptions/kotlinOptions for JVM target 1.8 - Bump version to 4.0.2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prepend / to pathPattern in auth flavor manifest so the placeholder passes AAPT validation during the library build without baking values into the AAR. Consumers who previously set redirectPathPattern to /.* should change it to .* since the leading slash is now added by the library manifest. Also removes default manifestPlaceholders from defaultConfig (they were being baked into the AAR), bumps Robolectric to 4.14.1 for SDK 35 support, removes Jetifier, and updates the changelog. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5734e2e to
06211e4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
android.enableJetifier) — not needed with pure AndroidX dependenciesBreaking change: redirect intent-filter moved to consuming app
AGP 8.x AAPT rejects unresolved
${redirectPathPattern}manifest placeholders in library builds. To resolve this, theRedirectUriReceiverActivityintent-filter has been moved from the library manifest to the consuming app's manifest.Consumers must add the following to their
AndroidManifest.xml:A custom lint rule (
MissingRedirectUriIntentFilter) is now shipped with the AAR. If the intent-filter is missing, the consuming app's build will fail with a clear error message.Other changes
ACTION_VIEW/CATEGORY_BROWSABLEto<queries>for Custom Tabs package visibility on API 35auth-lint-checksmodule withRedirectUriReceiverActivityDetectorWhy
New apps published on Google Play need to target SDK version 35.
Test plan
./gradlew buildpasses (294 tasks, all unit tests green)lint.jaris packaged in the AAR🤖 Generated with Claude Code