Polish MavenBomPlugin

This commit is contained in:
Rob Winch 2017-04-28 12:40:34 -05:00
parent 829c386756
commit c1d399b300
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ public class MavenBomPlugin implements Plugin<Project> {
public void apply(Project project) {
project.plugins.apply(JavaPlugin)
project.plugins.apply(MavenPlugin)
project.group = project.rootProject.group
project.task(MAVEN_BOM_TASK_NAME, type: MavenBomTask, group: 'Generate', description: 'Configures the pom as a Maven Build of Materials (BOM)')
project.install.dependsOn project.mavenBom
}