Open iamdanfox opened 5 years ago
would this not have worked?
dependencies {
constraints {
rootConfiguration('com.squareup.retrofit2:retrofit:2.4.0') { force = true }
}
}
@tpetracca this has the unfortunate side-effect of adding that retrofit dependency into every single configuration in your repo.
This then causes gradle-conjure to trip over with:
Could not determine the dependencies of task ':my-project:extractConjureJava'.
> Expected exactly one dependency for executable 'conjure-java', found [....., lots of jars, ...]
What happened?
Using a BOM to provide the majority of versions, but there's one version number that I don't want. (In this case, I want to avoid
com.squareup.retrofit2:retrofit:2.5.0
).Things that didn't work:
Also this didn't work:
What did you want to happen?
Some non-gross way to tell Gradle that I want 99% of that BOM but want to ignore one of it's versions.
I ended up using this gross hack: