[libgpars-groovy-java] 02/02: New transition_Gradle_3.1.patch for transition to Gradle 3.1

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


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

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

commit 9a109fde9a0a2683a326f34339278203ff30d480
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date:   Wed Nov 2 13:32:32 2016 +0800

    New transition_Gradle_3.1.patch for transition to 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 9ca8f6c..62ef8a9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_gradle_build.diff
 add_compatibility_with_gradle_2.5.diff
 reproducible-documentation.patch
 groovy-classpath.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..d75d7a0
--- /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-02
+--- a/build.gradle
++++ b/build.gradle
+@@ -293,7 +293,11 @@
+     header = packageTitle
+     footer = copyrightString
+     include 'groovyx/gpars/**'
+-    overview = new File('overview.html')
++    if (gradle.gradleVersion.startsWith('2.')) {
++        overview = new File('overview.html')
++    } else {
++        overviewText = resources.text.fromFile('overview.html')
++    }
+     groovyClasspath = files('/usr/share/java/groovy-all.jar')
+ }
+ 

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



More information about the pkg-java-commits mailing list