forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Hilt Gradle Plugin min AGP version to 8.1
This change upgrades the required AGP in the Hilt Gradle Plugin and in turn cleans up the code no longer relevant due to the upgrade. [As of September 2024 the target SDK for apps in the play store is 34](https://developer.android.com/google/play/requirements/target-sdk) and the [minimum AGP that supports target SDK 34 is 8.1.1](https://developer.android.com/build/releases/gradle-plugin#api-level-support) hence why such version chosen. * Remove the AGP abstraction an implementations from the plugin, we can now use Variant Component and ASM Transform APIs directly. * AGP 8.1 requires Gradle 8.0 which in turns requires JDK 17, used jvmToolchain API where possible. * AGP 8.1 requires minimum Android build tools of 33.0.1. * AGP 8.1 requires Android projects to have their 'namespace' set. * Update GitHub CI test matrix, removing older AGP values. RELNOTES=Upgrade Hilt Gradle Plugin min AGP version to 8.1 PiperOrigin-RevId: 681507589
- Loading branch information
1 parent
38a3c11
commit 18d2b26
Showing
76 changed files
with
515 additions
and
1,243 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
15 changes: 0 additions & 15 deletions
15
java/dagger/hilt/android/plugin/agp-wrapper-7-0/build.gradle
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
.../main/kotlin/dagger/hilt/android/plugin/util/AndroidComponentsExtensionCompatApi70Impl.kt
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...p-wrapper-7-0/src/main/kotlin/dagger/hilt/android/plugin/util/ComponentCompatApi70Impl.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
java/dagger/hilt/android/plugin/agp-wrapper-7-1/build.gradle
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
.../main/kotlin/dagger/hilt/android/plugin/util/AndroidComponentsExtensionCompatApi71Impl.kt
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...p-wrapper-7-1/src/main/kotlin/dagger/hilt/android/plugin/util/ComponentCompatApi71Impl.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
java/dagger/hilt/android/plugin/agp-wrapper-7-2/build.gradle
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
.../main/kotlin/dagger/hilt/android/plugin/util/AndroidComponentsExtensionCompatApi72Impl.kt
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
...p-wrapper-7-2/src/main/kotlin/dagger/hilt/android/plugin/util/ComponentCompatApi72Impl.kt
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
java/dagger/hilt/android/plugin/agp-wrapper-impl/build.gradle
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.