use of org.gradle.api.artifacts.ConfigurablePublishArtifact in project gradle by gradle.
the class DefaultVariant method artifact.
@Override
public void artifact(Object notation, Action<? super ConfigurablePublishArtifact> configureAction) {
ConfigurablePublishArtifact publishArtifact = artifactNotationParser.parseNotation(notation);
artifacts.add(publishArtifact);
configureAction.execute(publishArtifact);
}
use of org.gradle.api.artifacts.ConfigurablePublishArtifact in project gradle by gradle.
the class DefaultConfigurationPublications method artifact.
@Override
public void artifact(Object notation, Action<? super ConfigurablePublishArtifact> configureAction) {
ConfigurablePublishArtifact publishArtifact = artifactNotationParser.parseNotation(notation);
artifacts.add(publishArtifact);
configureAction.execute(publishArtifact);
}
use of org.gradle.api.artifacts.ConfigurablePublishArtifact in project gradle by gradle.
the class DefaultArtifactHandler method pushArtifact.
private PublishArtifact pushArtifact(Configuration configuration, Object notation, Action<? super ConfigurablePublishArtifact> configureAction) {
ConfigurablePublishArtifact publishArtifact = publishArtifactFactory.parseNotation(notation);
configuration.getArtifacts().add(publishArtifact);
configureAction.execute(publishArtifact);
return publishArtifact;
}
Aggregations