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

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

commit 52e4a34acceb1aea740dbe5a7b0bbcffbe326e39
Author: Kai-Chung Yan <[email protected]>
Date:   Thu May 28 00:04:25 2015 +0800

    Provide codes of base-services for buildSrc
---
 debian/rules | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 73f5de4..b715cc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,9 @@ GRADLE_TASKS += :launcher:startScripts
 
 # Only for debug purpose
 # export 
JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
-# Under fakeroot Gradle will show error while creating /root/.gradle, hence 
specify the Gradle home location
+
+# Under fakeroot Gradle will show error while creating /root/.gradle, hence
+# specifies the Gradle home location
 GRADLE_FLAGS := --project-prop finalRelease=true --offline --gradle-user-home 
.gradlehome
 
 # Support for DEB_BUILD_OPTIONS parallel=n
@@ -21,6 +23,11 @@ endif
 
 override_dh_auto_build:
        find /usr/share/gradle -type l ! -exec test -r {} \; -print
+
+       # Gradle 1.12 buildSrc uses APIs from base-services that does not exist 
in
+       # Gradle 1.5, hence make the codes available inside buildSrc.
+       cp -r subprojects/base-services/src/main/java/ buildSrc/src/main/
+
        gradle $(GRADLE_TASKS) $(GRADLE_FLAGS)
        pod2man -c '' -r '' debian/gradle.pod > debian/gradle.1
        patch -p1 < debian/patches/90_respect_user_java_home.diff
@@ -29,6 +36,7 @@ override_dh_auto_clean:
        dh_auto_clean
        gradle clean $(GRADLE_FLAGS)
        rm -rf .gradle/ .gradlehome/ debian/gradle.1 buildSrc/.gradle/
+       rm -rf buildSrc/src/main/java/
 
 get-orig-source:
        cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to