DebugDrawer
DebugDrawer copied to clipboard
Include view-no-op in debugdrawer-no-op
For consistency, debugdrawer-no-op should include view-no-op, the same way the normal submodules do.
Otherwise, if you're using the DebugView in your code and have dependencies like this
debugCompile "io.palaima.debugdrawer:debugdrawer:$version"
releaseCompile "io.palaima.debugdrawer:debugdrawer-no-op:$version"
will make the compilation fail only on release buildType because it can't find DebugView class.
Another workaround is doing
debugCompile "io.palaima.debugdrawer:debugdrawer:$version"
releaseCompile "io.palaima.debugdrawer:debugdrawer-no-op:$version"
releaseCompile "io.palaima.debugdrawer:debugdrawer-view-no-op:$version"
which is kinda ugly in my opinion.