當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。