googlesamples / googlesamples/unity-jar-resolver
Use android debugImplementation and releaseImplementation
Open
type: feature request
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 371
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 3
Description
Is there a way to specify `debugImplementation` and `releaseImplementation` for android dependencies?
For example, you can log useful debugging info inside myplugin-debug.aar. When building for release, proguard can strip these logs away.
```gradle
// desired output to mainTemplate.gradle
debugImplementation files('./libs/myplugin-debug.aar')
releaseImplementation files('./libs/myplugin-release.aar')
```
At the moment I am constantly adding/removing `Log.d` calls used for debugging.
Contributor guide
Assessment
This issue has not been assessed yet.