Search in sources :

Example 1 with StartParameterResolutionOverride

use of org.gradle.api.internal.artifacts.ivyservice.ivyresolve.StartParameterResolutionOverride in project gradle by gradle.

the class DependencyManagementBuildTreeScopeServices method createStartParameterResolutionOverride.

StartParameterResolutionOverride createStartParameterResolutionOverride(StartParameter startParameter, BuildLayout buildLayout) {
    File rootDirectory = buildLayout.getRootDirectory();
    File gradleDir = new File(rootDirectory, "gradle");
    return new StartParameterResolutionOverride(startParameter, gradleDir);
}
Also used : File(java.io.File) StartParameterResolutionOverride(org.gradle.api.internal.artifacts.ivyservice.ivyresolve.StartParameterResolutionOverride)

Aggregations

File (java.io.File)1 StartParameterResolutionOverride (org.gradle.api.internal.artifacts.ivyservice.ivyresolve.StartParameterResolutionOverride)1