-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
dependOnAssemble = true builds all variants #233
Comments
@AndrewReitz thanks for reporting this. @asadsalman do you have any thoughts here? |
@AndrewReitz do you have a build scan that demonstrates this? If not can you name the flank task as well as the dependent I added a simple test case for this. https://github.com/runningcode/fladle/pull/234/files#diff-fae81d6619b0f02b12c40c2f9c567d2dd485e2c6c5bf8c2d072626cad86f3285R183 |
I created #235 to use the extension's variant to determine which variant to depend on. Does this help? |
@runningcode the tests look like I'm looking for trying out the snapshot now! |
Thanks for testing. Please report back. I think I missed a test case (when no flavors are declared) so I will write this test case and make sure it works before releasing. |
I'm trying to run it but the snapshot seems to have issues authenticating against FTL. I am getting
I ran I can get you the logs and output of stacktrace if that would be helpful. |
This seems to be an issue with the latest version of flank. Thanks for reporting. Can you set |
@runningcode this works as in it only builds one APK, but it's the last one that was set with |
Thanks for testing @AndrewReitz can you give an example of your flavors and the fladle config and what dependencies you would expect to happen? |
Here's an example of how things are setup. Left out a lot and just trying to highlight the issue. So in the case below if I don't specifically set the apks for any of the product flavors the
|
Thanks for the clear example. The API was originally only designed to handle one variant. I did not imagine such a use case. The API needs to be changed. Will take a look at this soon hopefully. |
dependOnAssemble = true
builds all variants of an application rather than just the one flank needs to run the tests.This appears to be related to #60, if fladle doesn't know what variant apks it needs, it makes sense that it wouldn't know which to build.
The text was updated successfully, but these errors were encountered: