[Git][java-team/jayway-jsonpath][master] 7 commits: Build with gradle-debian-helper 3.0

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



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jayway-jsonpath


Commits:
6f9152e5 by Emmanuel Bourg at 2026-11-05T08:19:04+01:00
Build with gradle-debian-helper 3.0

- - - - -
e7f5b90d by Emmanuel Bourg at 2026-11-05T08:19:10+01:00
Standards-Version updated to 4.7.4

- - - - -
f0b07a79 by Emmanuel Bourg at 2026-11-05T08:25:00+01:00
Switch to debhelper level 13

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

- - - - -
500fa693 by Emmanuel Bourg at 2026-11-05T09:48:30+01:00
Removed the Priority field

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

- - - - -
924fc31c by Emmanuel Bourg at 2026-11-05T09:48:30+01:00
Upload to unstable

- - - - -


10 changed files:

- debian/changelog
- − debian/compat
- debian/control
- + debian/gradle.ignoreRules
- − debian/patches/01-disable-binary-compatibility-report.patch
- − debian/patches/02-disable-shadow-plugin.patch
- debian/patches/03-gradle-compatibility.patch
- debian/patches/series
- debian/rules
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+jayway-jsonpath (2.0.0-6) unstable; urgency=medium
+
+  * Build with gradle-debian-helper 3.0
+  * Fixed the compatibility with Gradle 5
+  * Standards-Version updated to 4.7.4
+  * Switch to debhelper level 13
+  * Removed the Priority field
+  * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 05 Nov 2026 09:12:45 +0100
+
 jayway-jsonpath (2.0.0-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -1,12 +1,11 @@
 Source: jayway-jsonpath
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg at apache.org>
 Build-Depends:
- debhelper (>= 11~),
+ debhelper-compat (= 13),
  default-jdk,
- gradle-debian-helper (>= 1.3),
+ gradle-debian-helper (>= 2.6),
  junit4,
  libcommons-io-java,
  libgoogle-gson-java,
@@ -17,7 +16,7 @@ Build-Depends:
  libmaven-bundle-plugin-java,
  libslf4j-java,
  maven-repo-helper
-Standards-Version: 4.2.1
+Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/jayway-jsonpath.git
 Vcs-Browser: https://salsa.debian.org/java-team/jayway-jsonpath
 Homepage: https://github.com/jayway/JsonPath


=====================================
debian/gradle.ignoreRules
=====================================
@@ -0,0 +1,2 @@
+gradle/binaryCompatibility.gradle
+com.github.johnrengelman.shadow


=====================================
debian/patches/01-disable-binary-compatibility-report.patch deleted
=====================================
@@ -1,11 +0,0 @@
-Description: Disables the binary compatibility report
-Author: Emmanuel Bourg <ebourg at apache.org>
-Forwarded: not-needed
---- a/build.gradle
-+++ b/build.gradle
-@@ -75,4 +75,3 @@
- 
- //Task used by Heroku for staging
- task stage(dependsOn: [':json-path-web-test:clean', 'json-path-web-test:shadowJar']) {}
--apply from: "$rootDir/gradle/binaryCompatibility.gradle"
-\ No newline at end of file


=====================================
debian/patches/02-disable-shadow-plugin.patch deleted
=====================================
@@ -1,18 +0,0 @@
-Description: Ignore the shadow plugin
-Author: Emmanuel Bourg <ebourg at apache.org>
-Forwarded: not-needed
---- a/build.gradle
-+++ b/build.gradle
-@@ -73,5 +73,3 @@
-     gradleVersion = '2.3'
- }
- 
--//Task used by Heroku for staging
--task stage(dependsOn: [':json-path-web-test:clean', 'json-path-web-test:shadowJar']) {}
---- a/json-path-web-test/build.gradle
-+++ b/json-path-web-test/build.gradle
-@@ -1,4 +1,3 @@
--apply plugin: 'com.github.johnrengelman.shadow'
- apply plugin: 'application'
- 
- displayName = "JsonPath Test Bench"


=====================================
debian/patches/03-gradle-compatibility.patch
=====================================
@@ -1,4 +1,4 @@
-Description: Fixes the compatibility with Gradle 3.4+
+Description: Fixes the compatibility with Gradle 3.4+ and Gradle 5
 Author: Emmanuel Bourg <ebourg at apache.org>
 Forwarded: no
 --- a/json-path/build.gradle
@@ -24,7 +24,8 @@ Forwarded: no
  jar {
 --- a/json-path-web-test/build.gradle
 +++ b/json-path-web-test/build.gradle
-@@ -1,7 +1,5 @@
+@@ -1,18 +1,18 @@
+ apply plugin: 'com.github.johnrengelman.shadow'
  apply plugin: 'application'
  
 -displayName = "JsonPath Test Bench"
@@ -32,3 +33,35 @@ Forwarded: no
  description = "Web app that compares different JsonPath implementations."
  
  mainClassName = 'com.jayway.jsonpath.web.boot.Main'
+ 
+-task createBuildInfoFile << {
+-    def buildInfoFile = new File("$buildDir/classes/main/build-info.properties")
+-    Properties props = new Properties()
+-    props.setProperty('version', project.version.toString())
+-    props.setProperty('timestamp', project.buildTimestamp)
+-    props.store(buildInfoFile.newWriter(), null)
++task createBuildInfoFile {
++    doLast {
++        def buildInfoFile = new File("$buildDir/classes/main/build-info.properties")
++        Properties props = new Properties()
++        props.setProperty('version', project.version.toString())
++        props.setProperty('timestamp', project.buildTimestamp)
++        props.store(buildInfoFile.newWriter(), null)
++    }
+ }
+ 
+ jar {
+--- a/build.gradle
++++ b/build.gradle
+@@ -69,10 +69,6 @@
+     }
+ }
+ 
+-task wrapper(type: Wrapper) {
+-    gradleVersion = '2.3'
+-}
+-
+ //Task used by Heroku for staging
+ task stage(dependsOn: [':json-path-web-test:clean', 'json-path-web-test:shadowJar']) {}
+ apply from: "$rootDir/gradle/binaryCompatibility.gradle"
+\ No newline at end of file


=====================================
debian/patches/series
=====================================
@@ -1,3 +1 @@
-01-disable-binary-compatibility-report.patch
-02-disable-shadow-plugin.patch
 03-gradle-compatibility.patch


=====================================
debian/rules
=====================================
@@ -5,3 +5,5 @@
 
 override_dh_auto_build:
 	dh_auto_build -- jar install -x :json-path-web-test:jar -x :json-path:javadoc -x :json-path-assert:javadoc -x :json-path-web-test:install
+
+override_dh_auto_test:


=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts="repack,compression=xz" \
-https://github.com/jayway/JsonPath/tags .*/(?:.*?)([\d\.]+)\.tar\.gz
+Version: 5
+Mode: git
+Source: https://github.com/json-path/JsonPath
+Matching-Pattern: refs/tags/json-path-([\d.]+)
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/jayway-jsonpath/-/compare/e5c7e22f9759cf6a846f86c9fff2c7caffbf6755...924fc31c8af0e436df4749939940d07dfb222b35

-- 
View it on GitLab: https://salsa.debian.org/java-team/jayway-jsonpath/-/compare/e5c7e22f9759cf6a846f86c9fff2c7caffbf6755...924fc31c8af0e436df4749939940d07dfb222b35
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/152f4881/attachment.htm>


More information about the pkg-java-commits mailing list