[bnd] 02/06: Backported a fix to build with Gradle >= 2.3

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Dec 17 10:09:19 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository bnd.

commit 44652ff69091fda89ed83383115f93f4aa031241
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Dec 17 10:31:09 2015 +0100

    Backported a fix to build with Gradle >= 2.3
---
 debian/changelog                          |  3 ++-
 debian/patches/gradle-compatibility.patch | 14 ++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 475a27c..99eed5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-bnd (2.4.0-1) UNRELEASED; urgency=medium
+bnd (2.4.1-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release
@@ -10,6 +10,7 @@ bnd (2.4.0-1) UNRELEASED; urgency=medium
     - Build the Gradle plugin during the bootstrap phase
     - Require libosgi-compendium-java >= 5.0.0-3 for the new OSGi types
     - Updated the linked jars and the ignored modules in debian/rules
+    - Backported a fix to build with Gradle >= 2.3
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 16 Dec 2015 12:54:06 +0100
 
diff --git a/debian/patches/gradle-compatibility.patch b/debian/patches/gradle-compatibility.patch
new file mode 100644
index 0000000..eabab8a
--- /dev/null
+++ b/debian/patches/gradle-compatibility.patch
@@ -0,0 +1,14 @@
+Description: Fix the compatibility with the version of Gradle in Debian
+Origin: backport, https://github.com/bndtools/bnd/commit/72d9e5b
+Bug: https://github.com/bndtools/bnd/issues/799
+--- a/settings.gradle
++++ b/settings.gradle
+@@ -24,7 +24,7 @@
+   configurations.classpath.resolutionStrategy.cacheChangingModulesFor 30, 'minutes'
+   dependencies {
+     components {
+-      eachComponent { ComponentMetadataDetails details ->
++      all { ComponentMetadataDetails details ->
+         details.changing = true
+       }
+     }
diff --git a/debian/patches/series b/debian/patches/series
index 8bba8b4..0010060 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ no-osgi.r5.patch
 #java8-compatibility.patch
 no-osgi-annotations.patch
 disable-jpm-plugin.patch
+gradle-compatibility.patch

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



More information about the pkg-java-commits mailing list