use of org.gradle.api.publish.maven.MavenPomRelocation in project gradle by gradle.
the class MavenPomFileGenerator method convertRelocation.
private Relocation convertRelocation(MavenPomRelocation source) {
Relocation target = new Relocation();
target.setGroupId(source.getGroupId().getOrNull());
target.setArtifactId(source.getArtifactId().getOrNull());
target.setVersion(source.getVersion().getOrNull());
target.setMessage(source.getMessage().getOrNull());
return target;
}
Aggregations