Search in sources :

Example 1 with DefaultPublishArtifactSet

use of org.gradle.api.internal.artifacts.DefaultPublishArtifactSet in project gradle by gradle.

the class DefaultConfiguration method initAllArtifacts.

private synchronized void initAllArtifacts() {
    if (allArtifacts != null) {
        return;
    }
    this.inheritedArtifacts = CompositeDomainObjectSet.create(PublishArtifact.class, ownArtifacts);
    for (Configuration configuration : this.extendsFrom) {
        inheritedArtifacts.addCollection(configuration.getAllArtifacts());
    }
    this.allArtifacts = new DefaultPublishArtifactSet(Describables.of(displayName, "all artifacts"), inheritedArtifacts, fileCollectionFactory);
}
Also used : DefaultPublishArtifactSet(org.gradle.api.internal.artifacts.DefaultPublishArtifactSet) ResolvedConfiguration(org.gradle.api.artifacts.ResolvedConfiguration) ResolvedProjectConfiguration(org.gradle.api.internal.artifacts.ivyservice.resolveengine.projectresult.ResolvedProjectConfiguration) DefaultLenientConfiguration(org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration) Configuration(org.gradle.api.artifacts.Configuration) ConfigurablePublishArtifact(org.gradle.api.artifacts.ConfigurablePublishArtifact) PublishArtifact(org.gradle.api.artifacts.PublishArtifact)

Aggregations

ConfigurablePublishArtifact (org.gradle.api.artifacts.ConfigurablePublishArtifact)1 Configuration (org.gradle.api.artifacts.Configuration)1 PublishArtifact (org.gradle.api.artifacts.PublishArtifact)1 ResolvedConfiguration (org.gradle.api.artifacts.ResolvedConfiguration)1 DefaultPublishArtifactSet (org.gradle.api.internal.artifacts.DefaultPublishArtifactSet)1 DefaultLenientConfiguration (org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration)1 ResolvedProjectConfiguration (org.gradle.api.internal.artifacts.ivyservice.resolveengine.projectresult.ResolvedProjectConfiguration)1