[Git][java-team/gradle-debian-helper][master] Inject the hook into the bootclasspath of the forked Gradle daemons (Closes: #908979)

Emmanuel Bourg gitlab at salsa.debian.org
Mon Sep 17 09:47:32 BST 2018


Emmanuel Bourg pushed to branch master at Debian Java Maintainers / gradle-debian-helper


Commits:
ea5fa950 by Emmanuel Bourg at 2018-09-17T08:42:54Z
Inject the hook into the bootclasspath of the forked Gradle daemons (Closes: #908979)

- - - - -


2 changed files:

- debian/changelog
- gradle-helper-plugin/src/main/perl/gradle.pm


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+gradle-debian-helper (2.0.1) unstable; urgency=medium
+
+  * Inject the hook into the bootclasspath of the forked Gradle daemons
+    (Closes: #908979)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 17 Sep 2018 10:24:56 +0200
+
 gradle-debian-helper (2.0) unstable; urgency=medium
 
   * Team upload.


=====================================
gradle-helper-plugin/src/main/perl/gradle.pm
=====================================
@@ -62,7 +62,9 @@ sub build {
 	}
 
 	# Add the hook to the classpath
-	$ENV{JAVA_OPTS} .= " -Xbootclasspath/a:/usr/share/java/gradle-helper-hook.jar:/usr/share/java/maven-repo-helper.jar";
+	my $hookClasspath = "/usr/share/java/gradle-helper-hook.jar:/usr/share/java/maven-repo-helper.jar";
+	$ENV{JAVA_OPTS} .= " -Xbootclasspath/a:$hookClasspath";
+	$ENV{JAVA_OPTS} .= " -Dorg.gradle.jvmargs=-Xbootclasspath/a:$hookClasspath";
 	
 	$this->doit_in_builddir(@{$this->{gradle_cmd}}, @_);
 }



View it on GitLab: https://salsa.debian.org/java-team/gradle-debian-helper/commit/ea5fa9504c5ac6af145254c04da919d560ed5119

-- 
View it on GitLab: https://salsa.debian.org/java-team/gradle-debian-helper/commit/ea5fa9504c5ac6af145254c04da919d560ed5119
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180917/a21b97d8/attachment.html>


More information about the pkg-java-commits mailing list