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


Java UnresolvedDependency类代码示例

本文整理汇总了Java中org.gradle.api.artifacts.UnresolvedDependency的典型用法代码示例。如果您正苦于以下问题:Java UnresolvedDependency类的具体用法?Java UnresolvedDependency怎么用?Java UnresolvedDependency使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


UnresolvedDependency类属于org.gradle.api.artifacts包,在下文中一共展示了UnresolvedDependency类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getUnresolvedDependencies

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
@Override
public Set<UnresolvedDependency> getUnresolvedDependencies() {
    return unresolvedDependencies;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:DefaultResolvedGraphResults.java

示例2: DefaultLenientConfiguration

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public DefaultLenientConfiguration(ConfigurationInternal configuration, CacheLockingManager cacheLockingManager, Set<UnresolvedDependency> unresolvedDependencies, VisitedArtifactsResults artifactResults, VisitedFileDependencyResults fileDependencyResults, TransientConfigurationResultsLoader transientConfigurationResultsLoader, ArtifactTransformer artifactTransformer) {
    this.configuration = configuration;
    this.cacheLockingManager = cacheLockingManager;
    this.unresolvedDependencies = unresolvedDependencies;
    this.artifactResults = artifactResults;
    this.fileDependencyResults = fileDependencyResults;
    this.transientConfigurationResultsFactory = transientConfigurationResultsLoader;
    this.artifactTransformer = artifactTransformer;
    selectedArtifacts = artifactResults.select(artifactTransformer.variantSelector(configuration.getAttributes()));
    selectedFileDependencies = fileDependencyResults.select(artifactTransformer.variantSelector(configuration.getAttributes()));
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:12,代码来源:DefaultLenientConfiguration.java

示例3: rethrowFailure

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public void rethrowFailure() throws ResolveException {
    if (hasError()) {
        List<Throwable> failures = new ArrayList<Throwable>();
        for (UnresolvedDependency unresolvedDependency : unresolvedDependencies) {
            failures.add(unresolvedDependency.getProblem());
        }
        throw new ResolveException(configuration.toString(), failures);
    }
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:DefaultLenientConfiguration.java

示例4: getUnresolvedModuleDependencies

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
@Override
public Set<UnresolvedDependency> getUnresolvedModuleDependencies() {
    try {
        return lenientConfiguration.getUnresolvedModuleDependencies();
    } catch (Throwable e) {
        throw wrapException(e, resolveContext);
    }
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:9,代码来源:ErrorHandlingConfigurationResolver.java

示例5: getUnresolvedModuleDependencies

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public Set<UnresolvedDependency> getUnresolvedModuleDependencies() {
    return unresolvedDependencies;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:4,代码来源:DefaultLenientConfiguration.java

示例6: DefaultResolvedGraphResults

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public DefaultResolvedGraphResults(Set<UnresolvedDependency> unresolvedDependencies, Map<Long, ModuleDependency> modulesMap) {
    this.unresolvedDependencies = unresolvedDependencies;
    this.modulesMap = modulesMap;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:DefaultResolvedGraphResults.java

示例7: addUnresolvedDependency

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public void addUnresolvedDependency(UnresolvedDependency unresolvedDependency) {
    unresolvedDependencies.add(unresolvedDependency);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:4,代码来源:DefaultResolvedConfigurationBuilder.java

示例8: getUnresolvedDependencies

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public Set<UnresolvedDependency> getUnresolvedDependencies() {
    return unresolvedDependencies;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:4,代码来源:DefaultResolvedConfigurationBuilder.java

示例9: getUnresolvedDependencies

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
Set<UnresolvedDependency> getUnresolvedDependencies(); 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:2,代码来源:ResolvedGraphResults.java

示例10: addUnresolvedDependency

import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
void addUnresolvedDependency(UnresolvedDependency unresolvedDependency); 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:2,代码来源:ResolvedConfigurationBuilder.java


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