当前位置: 首页>>代码示例>>Java>>正文


Java ResolvedConfiguration类代码示例

本文整理汇总了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());
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:14,代码来源:ErrorHandlingConfigurationResolver.java

示例2: ErrorHandlingResolvedConfiguration

import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ErrorHandlingResolvedConfiguration(ResolvedConfiguration resolvedConfiguration,
                                          ConfigurationInternal configuration) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.configuration = configuration;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:6,代码来源:ErrorHandlingConfigurationResolver.java

示例3: getResolvedConfiguration

import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ResolvedConfiguration getResolvedConfiguration() {
    resolveToStateOrLater(ARTIFACTS_RESOLVED);
    return cachedResolverResults.getResolvedConfiguration();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:DefaultConfiguration.java

示例4: getResolvedConfiguration

import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
@Override
public ResolvedConfiguration getResolvedConfiguration() {
    assertHasArtifactResult();
    return resolvedConfiguration;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:6,代码来源:DefaultResolverResults.java

示例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;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:7,代码来源:DefaultResolverResults.java

示例6: getResolvedConfiguration

import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public ResolvedConfiguration getResolvedConfiguration() {
    assertHasResult();
    return resolvedConfiguration;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:5,代码来源:ResolverResults.java

示例7: withResolvedConfiguration

import org.gradle.api.artifacts.ResolvedConfiguration; //导入依赖的package包/类
public void withResolvedConfiguration(ResolvedConfiguration resolvedConfiguration) {
    this.resolvedConfiguration = resolvedConfiguration;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:4,代码来源:ResolverResults.java

示例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;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:6,代码来源:ResolverResults.java

示例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;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:6,代码来源:ResolverResults.java

示例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();
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:ResolverResults.java

示例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);
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:ResolverResults.java


注:本文中的org.gradle.api.artifacts.ResolvedConfiguration类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。