[gant] 01/02: New transition_Gradle_3.1.patch for fixing build failure with Gradle 3.1
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 3914147e1cb497a6891a8daeb908b58464834457
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date: Mon Oct 31 19:49:12 2016 +0800
New transition_Gradle_3.1.patch for fixing build failure with Gradle 3.1
---
debian/patches/series | 1 +
debian/patches/transition_Gradle_3.1.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 605653d..1ddf78b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-build.patch
+transition_Gradle_3.1.patch
diff --git a/debian/patches/transition_Gradle_3.1.patch b/debian/patches/transition_Gradle_3.1.patch
new file mode 100644
index 0000000..e14c650
--- /dev/null
+++ b/debian/patches/transition_Gradle_3.1.patch
@@ -0,0 +1,18 @@
+Description: GroovyDoc.setOverview(String) => GroovyDoc.setOverviewText(TextResource) since 3.1
+Author: Kai-Chung Yan (殷啟聰)
+Last-Update: 2016-10-31
+--- a/build.gradle
++++ b/build.gradle
+@@ -210,7 +210,11 @@
+ javadoc.options.docTitle = javadoc.title
+ }
+ groovydoc{
+- overview = 'overview.html'
++ if (gradle.gradleVersion.startsWith('2.')) {
++ overview = 'overview.html'
++ } else {
++ overviewText = resources.text.fromFile('overview.html')
++ }
+ includePrivate = false
+ use = true
+ windowTitle = packageTitle
--
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