Skip to content

Upgrade to Android Gradle Plugin 7. - #142

Open
superafroman wants to merge 4 commits into
Archinamon:masterfrom
CautionYourBlast:feature/gradle-7
Open

Upgrade to Android Gradle Plugin 7.#142
superafroman wants to merge 4 commits into
Archinamon:masterfrom
CautionYourBlast:feature/gradle-7

Conversation

@superafroman

Copy link
Copy Markdown
Contributor

This gets things running with gradle 7, at least as far as the tests test things.

It feels a little like there may be some breaking change in this as I've done away with the mergeJars functionality. This was causing issues with multidexing and duplicate class files.

Replaces #140
Closes #141

@jiechic

jiechic commented May 26, 2022

Copy link
Copy Markdown

The author has not been updated for a long time, can you publish a working maven package on your project

superafroman and others added 3 commits July 29, 2025 12:39
Major changes:
- Replace deprecated Transform API with task-based integration using AndroidComponents API
- Update to Gradle 8.2 and Android Gradle Plugin 8.2.0
- Remove jcenter() repository references (deprecated)
- Update Java compatibility to version 17
- Implement AspectJTaskProvider for AGP 8.x compatibility
- Maintain full AspectJ weaving functionality with improved build performance
- Update README with new requirements and version information

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace deprecated Transform API with task-based approach using AndroidComponents
- Add proper task dependencies to run AspectJ after KAPT (Hilt code generation)
- Fix Gradle task validation with @internal annotations
- Disable legacy compiler configuration for AGP 8.x
- Add AGP version detection utility
- Ensure proper classpath configuration for AspectJ runtime

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

Not Compatible with AGP 7.x. | No such method error | Can't use with Jetpack Compose

2 participants