Package org.gradle.internal.component.model

Examples of org.gradle.internal.component.model.DefaultIvyArtifactName


        }
        attachArtifact(unattached, configurations, module);
    }

    private boolean artifactsEqual(Artifact a, Artifact b) {
        return new DefaultIvyArtifactName(a).equals(new DefaultIvyArtifactName(b));
    }
View Full Code Here


        }
        String name = publishArtifact.getName();
        if (!GUtil.isTrue(name)) {
            name = moduleVersionIdentifier.getName();
        }
        return new DefaultIvyArtifactName(name, publishArtifact.getType(), publishArtifact.getExtension(), extraAttributes);
    }
View Full Code Here

    // The componentDisplayName parameter is temporary
    public DefaultLocalArtifactIdentifier(ComponentIdentifier componentIdentifier, String componentDisplayName, String name, String type, @Nullable String extension, Map<String, String> attributes) {
        this.componentIdentifier = componentIdentifier;
        this.componentDisplayName = componentDisplayName;
        this.name = new DefaultIvyArtifactName(name, type, extension, attributes);
    }
View Full Code Here

    public DefaultModuleComponentArtifactIdentifier(ModuleComponentIdentifier componentIdentifier, String name, String type, @Nullable String extension) {
        this(componentIdentifier, name, type, extension, Collections.<String, String>emptyMap());
    }

    public DefaultModuleComponentArtifactIdentifier(ModuleComponentIdentifier componentIdentifier, String name, String type, @Nullable String extension, Map<String, String> attributes) {
        this(componentIdentifier, new DefaultIvyArtifactName(name, type, extension, attributes));
    }
View Full Code Here

        return artifactType == ArtifactType.IVY_DESCRIPTOR;
    }

    @Override
    protected IvyArtifactName getMetaDataArtifactName(String moduleName) {
        return new DefaultIvyArtifactName("ivy", "ivy", "xml");
    }
View Full Code Here

            });
            checkErrors();
            checkConfigurations();
            replaceConfigurationWildcards();
            if (!artifactsDeclared) {
                IvyArtifactName implicitArtifact = new DefaultIvyArtifactName(getMd().getModuleRevisionId().getName(), "jar", "jar");
                Set<String> configurationNames = Sets.newHashSet(getMd().getConfigurationsNames());
                metaData.addArtifact(implicitArtifact, configurationNames);
            }
            checkErrors();
            getMd().check();
View Full Code Here

    private final IvyArtifactName ivyArtifactName;
    private final Set<String> configurations = new LinkedHashSet<String>();

    public BuildableIvyArtifact(String name, String type, String ext, Map<String, String> extraAttributes) {
        this.ivyArtifactName = new DefaultIvyArtifactName(name, type, ext, extraAttributes);
    }
View Full Code Here

TOP

Related Classes of org.gradle.internal.component.model.DefaultIvyArtifactName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.