Emmanuel Bourg pushed to branch master at Debian Java Maintainers / gant


Commits:
e7349cd0 by Emmanuel Bourg at 2026-11-18T19:23:45+01:00
Fixed the build failure with Groovy 2.5 (Closes: #1154315)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/groovy-compatibility.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+gant (1.9.11-10) unstable; urgency=medium
+
+  * Fixed the build failure with Groovy 2.5 (Closes: #1154315)
+
+ -- Emmanuel Bourg <[email protected]>  Wed, 18 Nov 2026 19:23:45 +0100
+
 gant (1.9.11-9) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/groovy-compatibility.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Fix the compatibility with Groovy 2.5
+Author: Emmanuel Bourg <[email protected]>
+Forwarded: no
+--- a/build.gradle
++++ b/build.gradle
+@@ -257,7 +257,7 @@
+   //  If the user has GROOVY_HOME set then use that Groovy rather than the 
one specified in the properties
+   //  files.  However we have to fiddle to find the version number.
+   final groovyHome = System.getenv().'GROOVY_HOME'
+-  final groovyLib = null
++  def groovyLib = null
+   def groovyVersion
+   def versionMessage
+   if (groovyHome) {
+@@ -285,7 +285,7 @@
+                        GROOVY_ANT_TASK_TEST_VERSION:  groovyVersion,
+                        gradleClasspathString: 
classPath.join(System.properties.'path.separator')
+                      ])
+-  final installDirectory = '/usr/share/gant'
++  def installDirectory = '/usr/share/gant'
+   try { installDirectory = evaluate('"' + gant_installPath + '"') }
+   catch (MissingPropertyException mpe) { /* Intentionally left blank. */ }
+   task installGant(dependsOn: 'assemble', description: "Install Gant 
(compiled against Groovy ${groovyVersion}) to ${installDirectory}.") { doLast {


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
 transition_Gradle_3.1.patch
 rename_install_task.patch
 gradle-compatibility.patch
+groovy-compatibility.patch



View it on GitLab: 
https://salsa.debian.org/java-team/gant/-/commit/e7349cd09429c19e7cf61698054d9dfdf674e53b

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/gant/-/commit/e7349cd09429c19e7cf61698054d9dfdf674e53b
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


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

Reply via email to