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

Imported: Alternative 'app/build.gradle' file for Android Projects #49

Open
DaGeRe opened this issue Nov 15, 2021 · 3 comments
Open

Imported: Alternative 'app/build.gradle' file for Android Projects #49

DaGeRe opened this issue Nov 15, 2021 · 3 comments
Assignees

Comments

@DaGeRe
Copy link
Owner

DaGeRe commented Nov 15, 2021

This issue has been imported from an old repository. It was originally created by @alex-iotiq at 2021-10-25T11:05:24Z with number #49

If testing with Peass with the original build.gradle is not working, a modification of build.gradle to run successful tests with Peass can cause problems for the main project.
An alternative build.gradle that you can provide for Peass can solve this problem where you have the original file for the main project and another one specifically for testing with Peass.

@DaGeRe DaGeRe self-assigned this Nov 15, 2021
@DaGeRe
Copy link
Owner Author

DaGeRe commented Nov 15, 2021

This comment has been imported from an old repository. It was originally created by @DaGeRe at 2021-11-04T21:47:24Z

Thanks for the idea, this should now be possible with https://github.com/DaGeRe/peass-ci/commit/49040f19ba59fd2ece77d623be9bc05dbac72650 could you test this?

@DaGeRe
Copy link
Owner Author

DaGeRe commented Nov 15, 2021

This comment has been imported from an old repository. It was originally created by @alex-iotiq at 2021-11-11T15:16:25Z

There is a bug when using alternative_build.gradle option.
When the original build.gradle causes the build to break, Peass stops and the alternative_build.gradle won't be used, even if it's a working configuration.
The alternative_build.gradle will only be used when the build with the original build.gradle first succeeds.

@DaGeRe
Copy link
Owner Author

DaGeRe commented Nov 15, 2021

This comment has been imported from an old repository. It was originally created by @DaGeRe at 2021-11-12T17:23:19Z

Thanks for the hint, I assume this happened since Peass selected the gradle file that should be replaced based on the ordering the file system provided.

Could you try again with DaGeRe/peass@d8c3c7d or never and tell me whether the problem still exists?

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

No branches or pull requests

1 participant