Better safe than sorry

pull/212/head
M66B 2 years ago
parent 557dcd41f6
commit 98549b8fac

@ -411,8 +411,19 @@ configurations.all {
configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == "org.apache.poi") {
if (details.requested.group == "androidx.room") {
print("Pinning " + details.requested.group + ":" + details.requested.name + "\n")
details.useVersion "2.4.3"
} else if (details.requested.group == "androidx.lifecycle" &&
details.requested.name != "lifecycle-extensions") {
print("Pinning " + details.requested.group + ":" + details.requested.name + "\n")
details.useVersion "2.6.0"
} else if (details.requested.group == "org.apache.poi") {
print("Pinning " + details.requested.group + ":" + details.requested.name + "\n")
details.useVersion "3.17"
} else if (details.requested.group == "org.simplejavamail") {
print("Pinning " + details.requested.group + ":" + details.requested.name + "\n")
details.useVersion "1.7.13"
}
}
}

Loading…
Cancel
Save