Repository navigation
Conversation
- Set CI JDK to 25 in build and test workflows - Bump AGP to 9.5.1, Kotlin to 2.2.21 and KSP to 2.3.14 - Bump Gradle wrapper to 9.9.1 and regenerate gradlew scripts - Bump Dagger to 2.60.1 and Mockito to 5.24.0 - Remove the kotlin-android plugin and set Kotlin options via compilerOptions - Replace applicationVariants API with androidComponents for APK naming - Enable unit test Android resources for AGP 9.5 Compose Preview tasks
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
app/build.gradle.kts. The APK name does not change.android.onlyEnableUnitTestForTheTestedBuildType=falsekeeps thetestGithubReleaseUnitTesttask.isIncludeAndroidResources = truekeeps./gradlew tasksworking.testGithubDebugUnitTesttotestGithubReleaseUnitTest, because the release variant is the tested one under AGP 9.Testing
./gradlew testGithubReleaseUnitTest: 13 tests, 0 failures, 0 errors../gradlew assembleGithubRelease: the release APK builds with the expected file name../gradlew tasks: the task list loads../gradlew :app:help: exit code 0.gradle.propertiesstill requests an 8 GB heap, which the local host cannot provide.android.enableR8.fullMode=falsewill be removed in AGP 10. This change keeps the setting.