Search in sources :

Example 1 with MavenPomOrganization

use of org.gradle.api.publish.maven.MavenPomOrganization in project gradle by gradle.

the class MavenPomFileGenerator method convertOrganization.

private Organization convertOrganization(MavenPomOrganization source) {
    Organization target = new Organization();
    target.setName(source.getName().getOrNull());
    target.setUrl(source.getUrl().getOrNull());
    return target;
}
Also used : Organization(org.apache.maven.model.Organization) MavenPomOrganization(org.gradle.api.publish.maven.MavenPomOrganization)

Aggregations

Organization (org.apache.maven.model.Organization)1 MavenPomOrganization (org.gradle.api.publish.maven.MavenPomOrganization)1