JakeWharton / hugo

Annotation-triggered method call logging for your debug builds.
Apache License 2.0
7.92k stars 797 forks source link

updated to implementation in runtime #162

Open maniksejwal opened 5 years ago

maniksejwal commented 5 years ago

compile is no longer supported so replaced it with implementation

guidedways commented 5 years ago

@maniksejwal can you provide us with steps on how to use your repo instead?

maniksejwal commented 5 years ago

@guidedways I am sorry, I won't be able to help as I don't know anything about the functioning and design of this library. I was unable to compile my android app because Hugo was still using compile so I just tried changing the gradle files to use implementation.

thuutin commented 5 years ago

Hi @maniksejwal, I think usage of compile here also need to be updated to implementation https://github.com/JakeWharton/hugo/blob/master/hugo-plugin/src/main/groovy/hugo/weaving/plugin/HugoPlugin.groovy#L29

In my understanding, this code will be "run" when you apply plugin hugo and it add some more dependencies to the dependencies block of the module.

maniksejwal commented 5 years ago

Hi @thuutin, seems you are right. The imports and the classes in the file will also need to be updated.

I feel that the project is no longer maintained and creating a new pull request will not be of any use while a for will be.