[Git][java-team/gant][master] 11 commits: Fixed the compatibility with Gradle 5

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Thu Nov 5 09:58:25 GMT 2026



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


Commits:
fa6f6717 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Fixed the compatibility with Gradle 5

- - - - -
96f9aa93 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Standards-Version updated to 4.7.4

- - - - -
48b97cde by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Removed the Priority field

- - - - -
1c61c3f7 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Removed the Rules-Requires-Root field

- - - - -
6a2a957a by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Removed Torsten Werner from the Uploaders list (Closes: #1139123)

- - - - -
b034f475 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Removed Varun Hiremath from the Uploaders list (Closes: #1145212)

- - - - -
74f8b235 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Removed the recommended dependency on libmaven-ant-tasks-java (Closes: #1114461)

- - - - -
ede5aec0 by Emmanuel Bourg at 2026-11-05T09:48:29+01:00
Converted debian/watch to the version 5 format

- - - - -
1abcd6a7 by Emmanuel Bourg at 2026-11-05T10:55:29+01:00
Wrap and sort

- - - - -
26d3a0e4 by Emmanuel Bourg at 2026-11-05T10:56:42+01:00
Added myself to the uploaders

- - - - -
e79def5e by Emmanuel Bourg at 2026-11-05T10:56:47+01:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/gradle-compatibility.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+gant (1.9.11-9) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the compatibility with Gradle 5
+  * Removed Torsten Werner from the Uploaders list (Closes: #1139123)
+  * Removed Varun Hiremath from the Uploaders list (Closes: #1145212)
+  * Removed the recommended dependency on libmaven-ant-tasks-java
+    (Closes: #1114461)
+  * Standards-Version updated to 4.7.4
+  * Removed the Priority field
+  * Removed the Rules-Requires-Root field
+  * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 05 Nov 2026 10:55:41 +0100
+
 gant (1.9.11-8) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -1,22 +1,21 @@
 Source: gant
 Section: devel
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>
-Build-Depends: ant,
-               gradle-debian-helper,
-               debhelper-compat (= 13),
-               default-jdk-headless | default-jdk
-Standards-Version: 4.5.1
+Uploaders: Emmanuel Bourg <ebourg at apache.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ ant,
+ default-jdk-headless | default-jdk,
+ gradle-debian-helper
+Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/gant.git
 Vcs-Browser: https://salsa.debian.org/java-team/gant
 Homepage: https://github.com/Gant/Gant
-Rules-Requires-Root: no
 
 Package: gant
 Architecture: all
 Depends: ant, groovy, ${misc:Depends}
-Recommends: libmaven-ant-tasks-java, maven
+Recommends: maven
 Description: Groovy build framework based on scripting Ant tasks
  Gant is a build tool for scripting Ant tasks using Groovy instead of
  XML to specify the build logic. A Gant build specification is a


=====================================
debian/patches/gradle-compatibility.patch
=====================================
@@ -0,0 +1,94 @@
+Description: Fix the compatibility with Gradle 5
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -288,7 +288,7 @@
+   final 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}.") << {
++  task installGant(dependsOn: 'assemble', description: "Install Gant (compiled against Groovy ${groovyVersion}) to ${installDirectory}.") { doLast {
+     delete installDirectory
+     final installBinDirectory = installDirectory + '/bin'
+     final scriptsDirectory = '../scripts'
+@@ -309,7 +309,7 @@
+       into installDirectory + '/lib'
+       from new File(buildDir, 'libs')
+     }
+-  }
++  } }
+   task uninstall(type: Delete, description: "Delete ${installDirectory} so as to remove the Gant installation.") { delete installDirectory }
+ }
+ 
+@@ -479,7 +479,7 @@
+   delete distDirectory
+ }
+ 
+-task standaloneDeb(dependsOn: standaloneBinTgz, description: 'Create a deb for use with Debian and Ubuntu.') << {
++task standaloneDeb(dependsOn: standaloneBinTgz, description: 'Create a deb for use with Debian and Ubuntu.') { doLast {
+   final packageName = 'gant-standalone'
+   final architecture = 'all'
+   final createdDebFileName = packageName + '_' + gantVersion + '-' + debPackagingNumber + '_' + architecture + '.deb'
+@@ -532,7 +532,7 @@
+     //  by replicating the algorithm:-((
+     assert createdDebFileName == result._package + '_' + result._version + '_' + result._architecture + '.deb'
+     //}
+-}
++} }
+ 
+ debTasks << standaloneDeb
+ 
+@@ -622,7 +622,7 @@
+ 
+ task buildDistribution(dependsOn: distributionTasks, description: 'Build all the uploadable distribution archives.')
+ 
+-task uploadDistribution(dependsOn: buildDistribution, description: 'Upload all the distribution archives.') << {
++task uploadDistribution(dependsOn: buildDistribution, description: 'Upload all the distribution archives.') { doLast {
+   checkAuthority()
+   undertakeUpload(
+     {
+@@ -630,7 +630,7 @@
+       into rootProject.buildDir.absolutePath + '/' + gant_experimentalDistributionLocation + '/distributions'
+     },
+     ['distributions', distributionTasks])
+-}
++} }
+ 
+ // =====================================================================
+ //
+@@ -638,7 +638,7 @@
+ 
+ task buildDebs(dependsOn: debTasks, description: 'Build all the uploadable debs.')
+ 
+-task uploadDebs(dependsOn: buildDebs, description: 'Upload all the debs.') << {
++task uploadDebs(dependsOn: buildDebs, description: 'Upload all the debs.') { doLast {
+   checkAuthority()
+   undertakeUpload(
+     {
+@@ -646,7 +646,7 @@
+       into rootProject.buildDir.absolutePath + '/' + gant_experimentalDistributionLocation + '/debs'
+     },
+     ['debs', debTasks])
+-}
++} }
+ 
+ 
+ // =====================================================================
+@@ -664,14 +664,10 @@
+ 
+ task ciBuild(description: 'Run just the builds that use Groovy from the Maven repository.  Used mainly on CI servers.', dependsOn: ciBuildTasks)
+ 
+-task wrapper(type: Wrapper) {
+-  gradleVersion = '1.11'
+-}
+-
+-task clobber(description: 'Do a really detailed clean.') << {
++task clobber(description: 'Do a really detailed clean.') { doLast {
+   forEachProject{item -> delete item}
+   delete buildDir, 'texput.log'
+-}
++} }
+ 
+ // Russel uses Java 8 with IntelliJ IDEA and assumes everyone else is.
+ 


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


=====================================
debian/watch
=====================================
@@ -1,2 +1,6 @@
-version=4
-https://github.com/Gant/Gant/tags .*/([\d\.]+).tar.gz debian debian/orig-tar.sh
+Version: 5
+Mode: git
+Source: https://github.com/Gant/Gant
+Matching-Pattern: refs/tags/([\d.]+)
+Update-Script: debian/orig-tar.sh
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/gant/-/compare/e3bb02eb5e0de5694fd7a87efdcc98f0d3256fd2...e79def5e5e754791cfd520627cb3992cabfa3ade

-- 
View it on GitLab: https://salsa.debian.org/java-team/gant/-/compare/e3bb02eb5e0de5694fd7a87efdcc98f0d3256fd2...e79def5e5e754791cfd520627cb3992cabfa3ade
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261105/bd173cba/attachment.htm>


More information about the pkg-java-commits mailing list