-
Notifications
You must be signed in to change notification settings - Fork 798
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
Libraries' @DebugLog doesn't work #31
Comments
IIRC, gradle only assembles libraries in release mode, and hugo only logs in debug mode. |
Does Gradle expose the current tasks stack? Hugo could look it up to
|
I don't think there's a way to do this yet, no. |
This is a Gradle and Android plugin problem, not this library. More info at http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication with configuration to publish the debug variant which could be enabled with a -Dflag from the CLI as a temporary workaround. |
Just for clarifying. It can be done by adding
in module's build.gradle and the
in the application's build.gradle. |
My project has a number of modules apart from the actual app.
Today I've tried to use Hugo on one of the 'android-library' modules, and nothing is logged when the app module runs.
Project modules:
app (has
compile project(':mylibrary')
)mylibrary (has
apply plugin: 'hugo'
)Already tried to also
apply plugin: 'hugo'
on the app module, with no luck.The text was updated successfully, but these errors were encountered: