yigit / ArtifactFinder

An Android Studio Plugin to find Maven Artifacts by class name
Apache License 2.0
208 stars 5 forks source link

Handle errors when adding dependencies #12

Closed yigit closed 4 years ago

yigit commented 4 years ago

This PR changes dependency handler to check for existing artifacts and issue an update if it already exists.

It now also shows an error if a newer version already exists or dependency cannot be added for whatever reason.

Unfortunately, this change requires going through the gradle API rather than the generic API as generic API does not provide an option to update dependency. A nice side effect is that the gradle api also allows sync

yigit commented 4 years ago

cc @rcd27

rcd27 commented 4 years ago

@yigit if you have some ideas to implement, ping me please. I like this project.

yigit commented 4 years ago

Yes I don't like the ifs but I was a bit feeling lazy 🤷‍♂️🤦‍♂️.

Thanks for the offer, I really appreciate. I have two tasks in mind:

rcd27 commented 4 years ago

I registered those two in Issues.