本文整理汇总了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;
}
示例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()));
}
示例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);
}
}
示例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);
}
}
示例5: getUnresolvedModuleDependencies
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public Set<UnresolvedDependency> getUnresolvedModuleDependencies() {
return unresolvedDependencies;
}
示例6: DefaultResolvedGraphResults
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public DefaultResolvedGraphResults(Set<UnresolvedDependency> unresolvedDependencies, Map<Long, ModuleDependency> modulesMap) {
this.unresolvedDependencies = unresolvedDependencies;
this.modulesMap = modulesMap;
}
示例7: addUnresolvedDependency
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public void addUnresolvedDependency(UnresolvedDependency unresolvedDependency) {
unresolvedDependencies.add(unresolvedDependency);
}
示例8: getUnresolvedDependencies
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
public Set<UnresolvedDependency> getUnresolvedDependencies() {
return unresolvedDependencies;
}
示例9: getUnresolvedDependencies
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
Set<UnresolvedDependency> getUnresolvedDependencies();
示例10: addUnresolvedDependency
import org.gradle.api.artifacts.UnresolvedDependency; //导入依赖的package包/类
void addUnresolvedDependency(UnresolvedDependency unresolvedDependency);