JakeWharton / hugo

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

I want to hugo in release because some libarary need to test on release version. #129

Open tinybright opened 8 years ago

kaneoriley commented 8 years ago

You should just need to apply any Aspect J plugin on release builds (theres a few around if you google it, like https://github.com/uPhyca/gradle-android-aspectj-plugin) and add the inner Hugo dependencies manually instead of using the plugin, like so:

dependencies {
      compile 'com.jakewharton.hugo:hugo-runtime:1.2.1'
      compile 'com.jakewharton.hugo:hugo-annotations:1.2.1'
}

Edit: This seems like a bad idea though, I can understand why it's not possible or explained in the README