This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository gradle.

commit f274892571ab3a7b9392c8376155f717ee082f13
Author: Kai-Chung Yan (殷啟聰) <[email protected]>
Date:   Mon Oct 31 23:41:00 2016 +0800

    generate_pom.gradle: Add publishCompile and publishRuntime dependencies to 
the POMs
---
 debian/generate_pom.gradle | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/debian/generate_pom.gradle b/debian/generate_pom.gradle
index 3ad6090..a90864e 100644
--- a/debian/generate_pom.gradle
+++ b/debian/generate_pom.gradle
@@ -31,6 +31,20 @@ task debianMavenPom {
           }
         })
       }
+      if (configurations.findByName('publishCompile') != null) {
+        scopeMappings.addMapping(
+          300,
+          configurations.publishCompile,
+          Conf2ScopeMappingContainer.COMPILE
+        )
+      }
+      if (configurations.findByName('publishRuntime') != null) {
+        scopeMappings.addMapping(
+          300,
+          configurations.publishCompile,
+          Conf2ScopeMappingContainer.RUNTIME
+        )
+      }
     }.writeTo pomPath
   }
 }
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/gradle.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to