Skip to content

Commit 70f1e30

Browse files
generate pom together with pom template
generate a working pom with specified java version
1 parent a8f16fa commit 70f1e30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ task writePom {
5555
}
5656
}
5757
}
58+
}.withXml {
59+
def templateXml = (new XmlParser()).parse('pom-template.xml')
60+
asNode().append(templateXml.build)
5861
}.writeTo("pom.xml")
5962
}
6063
}

0 commit comments

Comments
 (0)