abstract fun force(vararg moduleVersionSelectorNotations: Any): ResolutionStrategy
Allows forcing certain versions of dependencies, including transitive dependencies. Appends new forced modules to be considered when resolving dependencies.
It accepts following notations:
apply plugin: 'java' //so that there are some configurations configurations.all { resolutionStrategy.force 'asm:asm-all:3.3.1', 'commons-io:commons-io:1.4' }
moduleVersionSelectorNotations
- typically group:name:version notations to append
Return
this ResolutionStrategy instance
Since
1.0-milestone-7