This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository gradle-debian-helper.
commit 180f202d6280feb1047065f4e3d6ad69d47fda18 Author: Emmanuel Bourg <[email protected]> Date: Wed Aug 3 10:56:58 2016 +0200 Use the current directory as the user home --- debian/changelog | 8 ++++++++ gradle-helper-plugin/src/main/perl/gradle.pm | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3984460..b4e82ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gradle-debian-helper (1.3) UNRELEASED; urgency=medium + + * Use the current directory as the user home to avoid build failures + with pbuilder when 'gradle install' writes the artifacts in the local + Maven repository. + + -- Emmanuel Bourg <[email protected]> Wed, 03 Aug 2016 10:53:49 +0200 + gradle-debian-helper (1.2) unstable; urgency=medium * Tightened the dependency on gradle (>= 2.5) diff --git a/gradle-helper-plugin/src/main/perl/gradle.pm b/gradle-helper-plugin/src/main/perl/gradle.pm index 92edaaf..eb2b692 100644 --- a/gradle-helper-plugin/src/main/perl/gradle.pm +++ b/gradle-helper-plugin/src/main/perl/gradle.pm @@ -29,6 +29,7 @@ sub new { "--no-daemon", "--refresh-dependencies", "--gradle-user-home", ".gradle", + "-Duser.home=.", # "--init-script", "/usr/share/gradle-debian-helper/init.gradle", ); @@ -53,7 +54,7 @@ sub clean { my $this=shift; $this->doit_in_builddir("find . -wholename .*build/tmp | xargs echo | sed -e 's^build/tmp^build^g' | xargs rm -Rf"); - $this->doit_in_builddir("rm", "-Rf", "$this->{cwd}/.gradle", "$this->{cwd}/buildSrc/.gradle"); + $this->doit_in_builddir("rm", "-Rf", "$this->{cwd}/.gradle", "$this->{cwd}/buildSrc/.gradle", ".m2"); } 1 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-debian-helper.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

