[groovy] 01/01: New transition_Gradle_3.1.patch for compatibility with Gradle 3.1

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Nov 2 05:24:05 UTC 2016


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

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

commit 6f208c4d825938b2567e54fa45cc3b5c7e5be74a
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date:   Tue Nov 1 15:41:59 2016 +0800

    New transition_Gradle_3.1.patch for compatibility with Gradle 3.1
---
 debian/patches/series                      |  1 +
 debian/patches/transition_Gradle_3.1.patch | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 0794852..2ac04eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 05_buildscripts_dependencies.diff
 06_ignore_documentation_publication.diff
 07_servlet_api_compatibility.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..cf3e9a0
--- /dev/null
+++ b/debian/patches/transition_Gradle_3.1.patch
@@ -0,0 +1,19 @@
+Description: Transtion to Gradle 3.1
+ This patch makes the build scripts compatible with Gradle 3.1
+Author: Kai-Chung Yan (殷啟聰)
+Last-Update: 2016-11-01
+--- a/gradle/docs.gradle
++++ b/gradle/docs.gradle
+@@ -46,7 +46,11 @@
+     ext.doctitle = doc.title
+     header = doc.title
+     footer = doc.footer
+-    overview = rootProject.file('src/main/overview.html')
++    if (gradle.gradleVersion.startsWith('2.')) {
++        overview = rootProject.file('src/main/overview.html')
++    } else {
++        overviewText = resources.text.fromFile(rootProject.file('src/main/overview.html'))
++    }
+     includePrivate = false
+     link 'http://docs.oracle.com/javaee/7/api/', 'javax.servlet.', 'javax.management.'
+     link 'http://docs.oracle.com/javase/8/docs/api/', 'java.', 'org.xml.', 'javax.', 'org.w3c.'

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



More information about the pkg-java-commits mailing list