diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index e69de29b..7a506983 100644 --- a/build.gradle +++ b/build.gradle @@ -0,0 +1,8 @@ +task updatePom << { + def parser = new XmlParser() + def pomFile = new File("maven-plugin/pom.xml") + def pom = parser.parse(pomFile) + pom.version[0].setValue(dokka_version) + pom.properties.kotlinVersion[0].setValue(kotlin_version) + pomFile.setText(groovy.xml.XmlUtil.serialize(pom)) +} |