use of org.gradle.api.publish.maven.internal.publisher.MutableMavenProjectIdentity in project gradle by gradle.
the class NativeBasePlugin method fillInCoordinates.
private void fillInCoordinates(Project project, MavenPublicationInternal publication, PublishableComponent publishableComponent) {
final ModuleVersionIdentifier coordinates = publishableComponent.getCoordinates();
MutableMavenProjectIdentity identity = publication.getMavenProjectIdentity();
identity.getGroupId().set(project.provider(() -> coordinates.getGroup()));
identity.getArtifactId().set(project.provider(() -> coordinates.getName()));
identity.getVersion().set(project.provider(() -> coordinates.getVersion()));
}
Aggregations