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

Update dependencies #8

Merged
merged 1 commit into from
Feb 3, 2019

Conversation

tasomaniac
Copy link
Collaborator

In the last PR #7, I think I was building and testing with the local Gradle distribution. It is still backward compatible but needs to be compiled with later versions.

The problem is that asFile was introduced in Gradle 4.2. Since that is only used for the hacky reflection for Android Plugin version 3.4+, that should all be fine.

I could've just upgraded to 4.2 but decided why not upgrading to latest versions. So here we go.

@@ -92,12 +92,12 @@ class PicklePlugin : Plugin<Project> {
project.plugins.all {
when (it) {
is LibraryPlugin -> {
project.extensions.findByType(LibraryExtension::class.java).run {
project.extensions.findByType(LibraryExtension::class.java)?.run {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is now required. Btw, I can also do !!. What do you think?

@fourlastor fourlastor merged commit 247ef00 into fourlastor:master Feb 3, 2019
@tasomaniac tasomaniac deleted the taso/update-gradle branch February 3, 2019 13:05
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