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

Manifest generation refactoring #84

Merged
merged 4 commits into from
Feb 26, 2021
Merged

Conversation

stepango
Copy link
Collaborator

@stepango stepango commented Feb 19, 2021

Instead of generating manifest during the configuration phase, I've used the beforeEvaluate callback, so it's now moved to the initialization phase which potentially should play much better with default Gradle behavior

Turn out it was a bad idea, before evaluating callback was set during the configuration stage and seems like never triggered. Probably It would make sense to try to set it through subProjects callback.

@stepango stepango changed the title Manifest generation moved to Project.beforeEvaluate Manifest generation refactoring Feb 19, 2021
}
}

val properties = Properties()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be better to move this code block into androidProjectConfiguration? (underhood)
Or, It should lay on top-level gradle build script?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it needs a bit more refinement, next PR will do

@stepango stepango merged commit f7b2b4c into master Feb 26, 2021
@stepango stepango deleted the manifest-generation-improvements branch February 26, 2021 06:18
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.

None yet

2 participants