Open xxxzhi opened 8 years ago
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.
./gradlew assemble
Does anyone have a better idea?
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:
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?