I am trying to use the Hugo library developed by Jake Wharton.
I added an expression:
compile 'com.jakewharton.hugo:hugo-plugin:1.2.1'
for my dependencies in the build.gradle file at the application level.
Then, when I try to annotate using @DebugLog in my methods, it appears in red, as if the IDE did not recognize it.
I tried entering into the import statement, for example:
import com.jakewharton.hugo;
but the jakewharton part of the jakewharton statement is displayed in red, that is, it does not see it.
I googled, and found links like:
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
I'm not sure what the difference is between compilation and classpath.
In addition, I see a link to:
apply plugin: 'hugo'
Where should it be?
As you can see, I am completely lost. Any ideas on how to make this work will elude much.
source share