[gradle] 04/05: New patches: relax_warnings.diff and nekohtml.diff

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Tue Jul 7 10:34:22 UTC 2015


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

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

commit 222b21b1ffa6e6547e064dc3d61c1f50e211ea56
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Tue Jul 7 18:29:55 2015 +0800

    New patches: relax_warnings.diff and nekohtml.diff
---
 debian/patches/nekohtml.diff       | 14 ++++++++++++++
 debian/patches/relax_warnings.diff | 16 ++++++++++++++++
 debian/patches/series              |  2 ++
 3 files changed, 32 insertions(+)

diff --git a/debian/patches/nekohtml.diff b/debian/patches/nekohtml.diff
new file mode 100644
index 0000000..2783365
--- /dev/null
+++ b/debian/patches/nekohtml.diff
@@ -0,0 +1,14 @@
+Description: The usage of nekohtml APIs must comes with xerces.
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-07-03
+--- a/gradle/dependencies.gradle
++++ b/gradle/dependencies.gradle
+@@ -110,6 +110,8 @@
+         jsoup:'org.jsoup:jsoup:1.6.3'
+ ]
+ 
++libraries.nekohtml = [libraries.nekohtml, libraries.xerces]
++
+ libraries.maven3 = dependencies.module("org.apache.maven:maven3-core") {
+     dependency "org.apache.maven:maven3-settings"
+     dependency "org.apache.maven:maven3-settings-builder"
diff --git a/debian/patches/relax_warnings.diff b/debian/patches/relax_warnings.diff
new file mode 100644
index 0000000..62a8ced
--- /dev/null
+++ b/debian/patches/relax_warnings.diff
@@ -0,0 +1,16 @@
+Description: resource-http produces lots of warnings and "-Werror" makes them
+             errors.
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-07-03
+--- a/gradle/strictCompile.gradle
++++ b/gradle/strictCompile.gradle
+@@ -17,7 +17,7 @@
+ allprojects {
+     ext.strictCompile = {
+         tasks.withType(AbstractCompile) {
+-            options.compilerArgs << "-Werror" << "-Xlint:all" << "-Xlint:-options" << "-Xlint:-serial"
++            options.compilerArgs << "-Xlint:all" << "-Xlint:-options" << "-Xlint:-serial"
+         }
+     }
+ }
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 6de7ca8..e3e144c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -17,3 +17,5 @@ search_system_jar.diff
 disable_aws.diff
 taskOrdering.diff
 jcommander.diff
+nekohtml.diff
+relax_warnings.diff

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



More information about the pkg-java-commits mailing list