[wala] 05/09: Set the default encoding as UTF-8
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Thu Feb 16 09:14:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository wala.
commit 183bbbcba3eb4fa1e0041bb5171c8dc39fa3a533
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date: Thu Feb 16 16:39:06 2017 +0800
Set the default encoding as UTF-8
---
debian/build.gradle | 1 +
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/build.gradle b/debian/build.gradle
index 46fe2ec..172afdc 100644
--- a/debian/build.gradle
+++ b/debian/build.gradle
@@ -49,6 +49,7 @@ task javadocAll(type: Javadoc) {
outputs.dir outputDir
outputs.files "${outputDir}/**/*"
options.links 'file:///usr/share/doc/default-jdk-doc/api'
+ options.encoding = 'UTF-8'
source subprojects.collect { project ->
project.sourceSets.main.allJava
}
diff --git a/debian/rules b/debian/rules
index 81882e0..620a0de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,8 @@ include /usr/share/dpkg/pkg-info.mk
override_dh_auto_build:
dh_auto_build -- --project-prop DEB_VERSION_UPSTREAM=$(DEB_VERSION_UPSTREAM) \
- --settings-file debian/settings.gradle
+ --settings-file debian/settings.gradle \
+ -Dfile.encoding=UTF-8
override_dh_auto_clean:
dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/wala.git
More information about the pkg-java-commits
mailing list