Repository navigation
build: upgrade to AGP 9.5.0 and Gradle 9.8.1 - #52
Merged
Merged
Conversation
AGP 9 brings built-in Kotlin, so the Kotlin Android plugin goes away, and drops kapt support, so Room's compiler moves to KSP. AGP 9 rejects Provider source directories; the generated test TLS directories are added by path.
Owner
Author
|
F-Droid check: the juev/fdroiddata fork pipeline (test branch, now deleted) built this commit with AGP 9.5.0 and Gradle 9.8.1. Its unsigned APK matches a local unsigned build in all 108 entries but META-INF/version-control-info.textproto, which holds the git revision; the local build ran from a worktree where AGP found no git checkout. Both CI and F-Droid build from a checkout, as for 0.3.0. |
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.
Closes #51
Change
org.jetbrains.kotlin.androidplugin.Providersource directories.docs/research/r8-agp9.mdrecords the measurements and checks.Result
Unsigned release APK: 4 267 600 → 4 060 496 bytes (−4.9 %), dex −4.6 %,
resources.arsc−40 %. AGP 9 applies optimized resource shrinking by default, so both Play Console R8 items are covered. Runtime start time and memory stay within emulator noise.Tests
assembleDebug lintDebug testDebugUnitTest connectedDebugAndroidTest: 52 unit and 75 instrumented tests pass on API 36.Before merge
Check the F-Droid build of this commit in the
juev/fdroiddatafork pipeline.