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

JUnit 5.5.1 & Better Compat implementation for class directories #182

Merged
merged 4 commits into from
Aug 6, 2019

Conversation

mannodermaus
Copy link
Owner

Resolves #180. Turns out, we don't really need to reach into the internal VariantScope API to achieve what we want - BaseVariant.javaCompile (for old versions) and BaseVariant.javaCompileProvider do the job just fine.

The latest AGP doesn't use the Artifact Files API anymore, therefore
another way needed to be found. Using the official javaCompile property
works more reliable and shouldn't break in the future, unless Google
even deprecates the javaCompileProvider.
@mannodermaus mannodermaus self-assigned this Aug 6, 2019
@mannodermaus mannodermaus merged commit f6a4f2b into master Aug 6, 2019
@mannodermaus mannodermaus deleted the feature/junit-5.5.1 branch August 6, 2019 19:05
@ashdavies
Copy link

Thanks for resolving the issue! 🎉 🥇

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.

Failure with Android Gradle Plugin 3.6.0-alpha05
2 participants