org.gradle.api.artifacts.ResolutionStrategy Java Examples

The following examples show how to use org.gradle.api.artifacts.ResolutionStrategy. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultResolutionStrategy.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ResolutionStrategy failOnVersionConflict() {
    this.conflictResolution = new StrictConflictResolution();
    return this;
}
 
Example #2
Source File: DefaultResolutionStrategy.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ResolutionStrategy eachDependency(Action<? super DependencyResolveDetails> rule) {
    dependencyResolveRules.add(rule);
    return this;
}
 
Example #3
Source File: DefaultResolutionStrategy.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ResolutionStrategy failOnVersionConflict() {
    this.conflictResolution = new StrictConflictResolution();
    return this;
}
 
Example #4
Source File: DefaultResolutionStrategy.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ResolutionStrategy eachDependency(Action<? super DependencyResolveDetails> rule) {
    dependencyResolveRules.add(rule);
    return this;
}