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

Treat app and library modules the same in Fulladle #262

Merged
merged 19 commits into from Jul 21, 2021

Conversation

asadsalman
Copy link
Contributor

@asadsalman asadsalman commented Jul 8, 2021

This PR merges the methods used to configure app and library modules in Fulladle plugin.

One major problem it solves is handling library modules as root-level app/test APKs (in case there are no app modules, or all app modules are disabled).

Root-level flank app/test apks are both required, and since libraries don't produce app APKs, we first try to set app modules as root level APKs. If none of the app modules are enabled (or if they have no tests), we then try to set libraries as the root-level app. Libraries need to explicitly set debugApk in their fulladleModuleConfig block for the APK to be consumed.

@asadsalman asadsalman marked this pull request as ready for review July 9, 2021 21:35
Copy link
Owner

@runningcode runningcode left a comment

Choose a reason for hiding this comment

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

Thanks so much for the changes. Apologies for my delay in reviewing it. I wanted to make sure i sat down and reviewed it thoroughly.

Copy link
Owner

@runningcode runningcode left a comment

Choose a reason for hiding this comment

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

Look good aside from what appears to me like duplicated code. Once that is addressed I will merge.

Please add some documentation either in this PR or in a follow up. Especially what the expected behavior is that you explained to me in slack.
Please also add this to the release notes in this PR or in a follow up.

Copy link
Owner

@runningcode runningcode left a comment

Choose a reason for hiding this comment

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

Just two comments on the docs.

docs/multi-module-testing.md Show resolved Hide resolved
docs/multi-module-testing.md Outdated Show resolved Hide resolved
@github-actions
Copy link

Buildscan url for run 1053338057

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