aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle8
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))
+}