[gant] 02/02: New rename_install_task.patch for fixing the incompatibility with gradle-debian-helper
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Mon Oct 31 11:50:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository gant.
commit e62c12f0806aceb1f6ccabcd1be4574ed0d042d6
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date: Mon Oct 31 19:50:37 2016 +0800
New rename_install_task.patch for fixing the incompatibility with gradle-debian-helper
---
debian/patches/rename_install_task.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/rename_install_task.patch b/debian/patches/rename_install_task.patch
new file mode 100644
index 0000000..a6d399d
--- /dev/null
+++ b/debian/patches/rename_install_task.patch
@@ -0,0 +1,14 @@
+Description: "install" as a custom task name is too generic and collides with "maven" plugin
+Author: Kai-Chung Yan (殷啟聰)
+Last-Update: 2016-10-31
+--- a/build.gradle
++++ b/build.gradle
+@@ -288,7 +288,7 @@
+ final installDirectory = '/usr/share/gant'
+ try { installDirectory = evaluate('"' + gant_installPath + '"') }
+ catch (MissingPropertyException mpe) { /* Intentionally left blank. */ }
+- task install(dependsOn: 'assemble', description: "Install Gant (compiled against Groovy ${groovyVersion}) to ${installDirectory}.") << {
++ task installGant(dependsOn: 'assemble', description: "Install Gant (compiled against Groovy ${groovyVersion}) to ${installDirectory}.") << {
+ delete installDirectory
+ final installBinDirectory = installDirectory + '/bin'
+ final scriptsDirectory = '../scripts'
diff --git a/debian/patches/series b/debian/patches/series
index 1ddf78b..2802417 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-build.patch
transition_Gradle_3.1.patch
+rename_install_task.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gant.git
More information about the pkg-java-commits
mailing list