- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for forPublishArtifact (0.33 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultIvyArtifactNameTest.groovy
getClassifier() >> "art-classifier" } when: 1 * publishArtifact.getName() >> "art-name" then: def name = DefaultIvyArtifactName.forPublishArtifact(publishArtifact) name.name == "art-name" name.extension == "art-ext" name.type == "art-type" name.classifier == "art-classifier" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadata.java
// to set the 'artifactType' attribute required in matching (even if the variant with the artifact is not selected in the end). ivyArtifactName = DefaultIvyArtifactName.forPublishArtifact(publishArtifact); } @Override public String getDisplayName() { return publishArtifact.getFile().getName() + " (" + componentIdentifier.getDisplayName() + ")"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultIvyArtifactName.java
private final String name; private final String type; private final String extension; private final String classifier; private final int hashCode; public static DefaultIvyArtifactName forPublishArtifact(PublishArtifact publishArtifact) { String name = publishArtifact.getName(); if (name == null) { name = publishArtifact.getFile().getName(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 4K bytes - Viewed (0)