本文整理匯總了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);