We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bb082 commit e03993dCopy full SHA for e03993d
buildSrc/src/main/java/org/elasticsearch/gradle/JdkDownloadPlugin.java
@@ -55,6 +55,7 @@ public void apply(Project project) {
55
56
NamedDomainObjectContainer<Jdk> jdksContainer = project.container(Jdk.class, name -> {
57
Configuration configuration = project.getConfigurations().create("jdk_" + name);
58
+ configuration.setCanBeConsumed(false);
59
configuration.getAttributes().attribute(ArtifactAttributes.ARTIFACT_FORMAT, ArtifactTypeDefinition.DIRECTORY_TYPE);
60
Jdk jdk = new Jdk(name, configuration, project.getObjects());
61
configuration.defaultDependencies(dependencies -> {
0 commit comments