本文整理汇总了Java中org.gradle.api.artifacts.ResolvedConfiguration类的典型用法代码示例。如果您正苦于以下问题:Java ResolvedConfiguration类的具体用法?Java ResolvedConfiguration怎么用?Java ResolvedConfiguration使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ResolvedConfiguration类属于org.gradle.api.artifacts包,在下文中一共展示了ResolvedConfiguration类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: resolveArtifacts
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
@Override
public void resolveArtifacts(ConfigurationInternal configuration, ResolverResults results) throws ResolveException {
try {
delegate.resolveArtifacts(configuration, results);
} catch (Throwable e) {
BrokenResolvedConfiguration broken = new BrokenResolvedConfiguration(e, configuration);
results.artifactsResolved(broken, broken);
return;
}
ResolvedConfiguration wrappedConfiguration = new ErrorHandlingResolvedConfiguration(results.getResolvedConfiguration(), configuration);
results.artifactsResolved(wrappedConfiguration, results.getVisitedArtifacts());
}
示例2: ErrorHandlingResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ErrorHandlingResolvedConfiguration(ResolvedConfiguration resolvedConfiguration,
ConfigurationInternal configuration) {
this.resolvedConfiguration = resolvedConfiguration;
this.configuration = configuration;
}
示例3: getResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ResolvedConfiguration getResolvedConfiguration() {
resolveToStateOrLater(ARTIFACTS_RESOLVED);
return cachedResolverResults.getResolvedConfiguration();
}
示例4: getResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
@Override
public ResolvedConfiguration getResolvedConfiguration() {
assertHasArtifactResult();
return resolvedConfiguration;
}
示例5: artifactsResolved
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
@Override
public void artifactsResolved(ResolvedConfiguration resolvedConfiguration, VisitedArtifactSet visitedArtifacts) {
this.resolvedConfiguration = resolvedConfiguration;
this.visitedArtifacts = visitedArtifacts;
this.artifactResolveState = null;
}
示例6: getResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ResolvedConfiguration getResolvedConfiguration() {
assertHasResult();
return resolvedConfiguration;
}
示例7: withResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public void withResolvedConfiguration(ResolvedConfiguration resolvedConfiguration) {
this.resolvedConfiguration = resolvedConfiguration;
}
示例8: resolved
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public void resolved(ResolvedConfiguration resolvedConfiguration, ResolutionResult resolutionResult) {
this.resolvedConfiguration = resolvedConfiguration;
this.resolutionResult = resolutionResult;
this.fatalFailure = null;
}
示例9: failed
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public void failed(ResolvedConfiguration resolvedConfiguration, ResolveException failure) {
this.resolvedConfiguration = resolvedConfiguration;
this.resolutionResult = null;
this.fatalFailure = failure;
}
示例10: getResolvedConfiguration
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
/**
* Returns the old model, slowly being replaced by the new model represented by {@link ResolutionResult}. Requires artifacts to be resolved.
*/
ResolvedConfiguration getResolvedConfiguration();
示例11: artifactsResolved
import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
/**
* Marks artifact resolution as successful, clearing state provided by {@link #retainState(Object)}.
*/
void artifactsResolved(ResolvedConfiguration resolvedConfiguration, VisitedArtifactSet visitedArtifacts);