aboutsummaryrefslogtreecommitdiff
path: root/pom.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pom.gradle')
-rw-r--r--pom.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/pom.gradle b/pom.gradle
new file mode 100644
index 00000000..ccda8308
--- /dev/null
+++ b/pom.gradle
@@ -0,0 +1,33 @@
+def pomConfig = {
+ licenses {
+ license {
+ name "MIT"
+ url "https://opensource.org/licenses/MIT"
+ distribution "repo"
+ }
+ }
+ developers {
+ developer {
+ id "rjaros"
+ name "Robert Jaros"
+ organization "Treksoft"
+ organizationUrl "http://www.treksoft.pl"
+ }
+ }
+
+ scm {
+ url "https://github.com/rjaros/kvision.git"
+ }
+}
+
+def withPom = { pom ->
+ pom.withXml {
+ def root = asNode()
+ root.appendNode('name', project.name)
+ root.appendNode('description', 'Object oriented Web UI framework for Kotlin/JS')
+ root.appendNode('url', 'https://github.com/rjaros/kvision')
+ root.children().last() + pomConfig
+ }
+}
+
+ext.withPom = withPom