Skip to content

Conversation

@AadityaDhingra
Copy link
Contributor

No description provided.


def apiGenerate = project.task("apiGenerate${name}", type: ApiCompatLintTask) {
description = "Generates API file for build variant ${name}"
doFirst {

Choose a reason for hiding this comment

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

Does this need a doFirst at all? Could we make the classpath be a provider so it's lazy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't get it to run locally, so did the safest thing which I knew would work. But I am quite sure you are correct and we don't need doFirst, but will need to test it locally!

Choose a reason for hiding this comment

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

Mmm, we should probably vendor this someday. Anyway, a project for a later day. If this works for you, roll on.

Copy link
Collaborator

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

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

r+ rubber stamp; reviewed by nalexander.

@jonalmeida jonalmeida merged commit 4ebbb75 into mozilla-mobile:master Apr 7, 2025
1 check passed
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.

3 participants