I’d like to be able to specify that a project reference only be included in a debug build. Specifically I’m wanting this to add LeakCanary to my Android project. LeakCanary should only ever run in debug builds, as it is a library that alerts the user when memory leaks occur. In Gradle this is done by adding the reference as debugImplementation instead of implementation. In EBuild I’d think something like this would be nice to have.
<GradleReference Include="com.squareup.leakcanary:leakcanary-android:2.4">
<Private>True</Private>
<Configuration>Debug</Configuration>
</GradleReference>
