googlesamples / googlesamples/unity-jar-resolver
How to exclude a library from dependencies
Open
type: feature request
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 371
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 3
Description
Hi.
In Gradle, there's an option to exclude a library from one's dependencies to avoid it from being added. Like:
```cs
implementation("androidx.work:work-rxjava2:${versions.workManager}")
{ exclude group: 'io.reactivex.rxjava2', module: 'rxjava' }
```
So when I want to add another library that is a custom version of `rxjava`, there won't be any **duplicate entry** error.
Is there any feature in jar resolver?
p.s. If I use `mainTemplate.gradle`, I can do this manually, but if I don't, I can't.
Contributor guide
Assessment
This issue has not been assessed yet.