use of io.quarkus.bootstrap.resolver.TsDependency in project quarkus by quarkusio.
the class ProvidedScopeDepsAreNotCollectedTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact notCollected = new TsArtifact("not-collected");
// install(notCollected, false);
final TsArtifact common1 = new TsArtifact("common", "1").addDependency(new TsDependency(notCollected, "provided"));
install(common1, true);
installAsDep(new TsArtifact("required-dep").addDependency(common1), true);
installAsDep(new TsDependency(new TsArtifact("provided-dep").addDependency(new TsArtifact("common", "2")), "provided"), false);
}
use of io.quarkus.bootstrap.resolver.TsDependency in project quarkus by quarkusio.
the class TestScopeIsNotAmongRuntimeDependenciesTestCase method setupDependencies.
@Override
protected void setupDependencies() {
installAsDep(new TsDependency(new TsArtifact("required-dep-a"), "compile"), true);
installAsDep(new TsDependency(new TsArtifact("required-dep-b"), "runtime"), true);
installAsDep(new TsDependency(new TsArtifact("direct-test-dep").addDependency(new TsArtifact("common", "1").addDependency(new TsDependency(new TsArtifact("not-collected"), "test"))), "test"), false);
final TsArtifact common = install(new TsArtifact("common", "2"), true);
installAsDep(new TsArtifact("required-dep-c").addDependency(common), true);
}
use of io.quarkus.bootstrap.resolver.TsDependency in project quarkus by quarkusio.
the class DependencyPresentTwiceInTheGraphInCompileAndProvidedScopesTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact common1 = new TsArtifact("common", "1");
final TsArtifact common2 = new TsArtifact("common", "2");
installAsDep(new TsArtifact("required-dep1").addDependency(new TsDependency(common1, "provided")), true);
install(common1, false);
install(common2, true);
installAsDep(new TsArtifact("required-dep2").addDependency(common2), true);
}
Aggregations