Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SAGP work on the root project level #798

Open
3 tasks
romtsn opened this issue Dec 17, 2024 · 0 comments
Open
3 tasks

Make SAGP work on the root project level #798

romtsn opened this issue Dec 17, 2024 · 0 comments
Assignees

Comments

@romtsn
Copy link
Member

romtsn commented Dec 17, 2024

Description

The gradle plugin should be applicable to the root project as opposed to being applied to the app module right now.

The root plugin should go through all modules/projects and:

  • Apply AppModuleSubplugin to the android app module (com.android.application)
  • Apply LibModuleSubplugin to any other kotlin/java module (can be com.android.library or just a pure java|kotlin module)
  • Register upload native symbols task on the root project level

Also note that it should work for isolated gradle projects (upcoming stable in Gradle 9.0 I believe)

Prior art: https://github.com/autonomousapps/dependency-analysis-gradle-plugin/tree/main/src/main/kotlin/com/autonomousapps/subplugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant