Another beginner's question: what's the difference...
# dependency-management
k
Another beginner's question: what's the difference between
Copy code
configurations.all {
  resolutionStrategy {
    force("foo:bar:1.0")
  }
}
and using a platform
Copy code
dependencies {
  constraints {
    api("foo:bar:1.0")
  }
}
j
Force effectively substitutes all dependencies with that group and module to have that version
Prefer a constraint with a strict version
k
So the second over the first...?
j
Yeah