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

support release build type use DebugLog with SOURCE Retention #146

Open
xxxzhi opened this Issue Nov 4, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@xxxzhi

xxxzhi commented Nov 4, 2016

Could hugo support release build with SOURCE Retention DebugLog annotation? SOURCE Retention will not keep in .class file.

I try to use releaseCompile dependencies to realize it like this:

debugCompile project(':hugo-annotations')
releaseCompile project(':hugo-annotations-release')

hugo-annotations-release module has DebugLog Annotation which Retention is SOURCE. But this only support release and debug task. When execute ./gradlew assemble, It will throw exception.

Does anyone have a better idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment