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

Fixing #58 - Check if there are any test variants when plugin is applied #62

Merged
merged 1 commit into from
Nov 28, 2017
Merged

Conversation

premnirmal
Copy link
Contributor

This PR fixes the build error specified in #58.

When the application variant is not a test variant, the list (androidConfig as TestedExtension).testVariants is empty, and should not be used to get the test application ID.

This PR checks to see if the list is not empty before calling (androidConfig as TestedExtension).testVariants.first() in the ok replay plugin.

@felipecsl felipecsl merged commit 3ff161a into airbnb:master Nov 28, 2017
@felipecsl
Copy link
Collaborator

Thanks @premnirmal !

@slavasav
Copy link

awesome!

@premnirmal
Copy link
Contributor Author

Thank you for merging this. When do you estimate this to be live on maven central?

@felipecsl
Copy link
Collaborator

I'll cut v1.4.0 today or tomorrow. you can use 1.4.0-SNAPSHOT in the meantime

@premnirmal
Copy link
Contributor Author

Thanks, still waiting for the release version

@felipecsl
Copy link
Collaborator

v1.4.0 is now live

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