Rename the configurePom(..) method to customizePom(..).
This commit is contained in:
@@ -1,16 +1,5 @@
|
||||
|
||||
project.install {
|
||||
repositories.mavenInstaller {
|
||||
configurePom(project, pom)
|
||||
}
|
||||
}
|
||||
project.uploadArchives {
|
||||
repositories.mavenDeployer {
|
||||
configurePom(project, pom)
|
||||
}
|
||||
}
|
||||
|
||||
def configurePom(project, pom) {
|
||||
def customizePom(gradleProject, pom) {
|
||||
|
||||
pom.whenConfigured { generatedPom ->
|
||||
generatedPom.project {
|
||||
@@ -24,3 +13,15 @@ def configurePom(project, pom) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
project.install {
|
||||
repositories.mavenInstaller {
|
||||
customizePom(project, pom)
|
||||
}
|
||||
}
|
||||
|
||||
project.uploadArchives {
|
||||
repositories.mavenDeployer {
|
||||
customizePom(project, pom)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user