We have an issue where we would like to use a specific classifier to resolve artifacts in some environments and a different one in other environments. From reading the documentation about the resolution strategy (http://www.gradle.org/docs/current/dsl/org.gradle.api.artifacts.ResolutionStrategy.html) it does not seem to support a notion of resolving an artifact by classifier. Is there a way to force a dependency to use a specific classifier to resolve an artifact?
See “126.96.36.199. Classifiers” in the Gradle User Guide.