[Git][java-team/auto-value-gson-java][debian/latest] 9 commits: Fixed the compatibility with Gradle 5

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



Emmanuel Bourg pushed to branch debian/latest at Debian Java Maintainers / auto-value-gson-java


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

- - - - -
aa7ed0cb by Emmanuel Bourg at 2026-11-05T09:48:28+01:00
Standards-Version updated to 4.7.4

- - - - -
1dd62b97 by Emmanuel Bourg at 2026-11-05T09:48:28+01:00
Removed the Priority field

- - - - -
6670dfe2 by Emmanuel Bourg at 2026-11-05T09:48:28+01:00
Removed the Rules-Requires-Root field

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

- - - - -
2e77add0 by Emmanuel Bourg at 2026-11-05T09:48:28+01:00
Set the Java Team as Maintainer

- - - - -
6c9ac727 by Emmanuel Bourg at 2026-11-05T10:52:20+01:00
Removed the libgoogle-auto-value-gson-java-doc package

- - - - -
055a77f0 by Emmanuel Bourg at 2026-11-05T11:05:31+01:00
Wrap and sort

- - - - -
b613a9fc by Emmanuel Bourg at 2026-11-05T11:05:46+01:00
Upload to unstable

- - - - -


11 changed files:

- debian/changelog
- debian/control
- − debian/libgoogle-auto-value-gson-java-doc.doc-base
- − debian/libgoogle-auto-value-gson-java-doc.docs
- − debian/libgoogle-auto-value-gson-java-doc.examples
- − debian/libgoogle-auto-value-gson-java-doc.linktrees
- + debian/patches/gradle-compatibility.patch
- debian/patches/series
- debian/rules
- debian/tests/control
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+auto-value-gson-java (1.3.1-4) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the compatibility with Gradle 5
+  * Removed the libgoogle-auto-value-gson-java-doc package
+  * Set the Java Team as Maintainer
+  * 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 11:05:41 +0100
+
 auto-value-gson-java (1.3.1-3) unstable; urgency=low
 
   * debian/patches/depends-on-jsr305.patch: depends on jsr305


=====================================
debian/control
=====================================
@@ -1,28 +1,25 @@
 Source: auto-value-gson-java
 Section: java
-Priority: optional
-Maintainer: Ying-Chun Liu (PaulLiu) <paulliu at debian.org>
-Rules-Requires-Root: no
-Build-Depends: debhelper-compat (= 13),
-               dh-linktree,
-               default-jdk,
-               default-jdk-doc,
-               gradle-apt-plugin,
-               gradle-debian-helper,
-               libautotransient-java,
-               liberror-prone-java,
-               libgoogle-auto-common-java,
-               libgoogle-auto-service-java,
-               libgoogle-auto-value-java,
-               libgoogle-compile-testing-java,
-               libgoogle-gson-java,
-               libjavapoet-java,
-               libjetbrains-annotations-java,
-               libjsr305-java,
-               libtruth-java,
-               maven-repo-helper
-Build-Depends-Indep: libjs-jquery, libjs-jquery-ui, libjs-jquery-ui-theme-base
-Standards-Version: 4.7.2
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ying-Chun Liu (PaulLiu) <paulliu at debian.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ default-jdk,
+ gradle-apt-plugin,
+ gradle-debian-helper,
+ libautotransient-java,
+ liberror-prone-java,
+ libgoogle-auto-common-java,
+ libgoogle-auto-service-java,
+ libgoogle-auto-value-java,
+ libgoogle-compile-testing-java,
+ libgoogle-gson-java,
+ libjavapoet-java,
+ libjetbrains-annotations-java,
+ libjsr305-java,
+ libtruth-java,
+ maven-repo-helper
+Standards-Version: 4.7.4
 Homepage: https://github.com/rharter/auto-value-gson
 Vcs-Browser: https://salsa.debian.org/java-team/auto-value-gson-java
 Vcs-Git: https://salsa.debian.org/java-team/auto-value-gson-java.git
@@ -33,15 +30,3 @@ Depends: ${maven:Depends}, ${misc:Depends}
 Description: Gson extension for AutoValue
  An extension for Google's AutoValue that creates a simple Gson
  TypeAdapterFactory for each AutoValue annotated object.
-
-Package: libgoogle-auto-value-gson-java-doc
-Section: doc
-Architecture: all
-Multi-Arch: foreign
-Depends: ${misc:Depends}
-Suggests: libgoogle-auto-value-gson-java
-Description: Gson extension for AutoValue (Documentation)
- An extension for Google's AutoValue that creates a simple Gson
- TypeAdapterFactory for each AutoValue annotated object.
- .
- This package contains the API documentation.


=====================================
debian/libgoogle-auto-value-gson-java-doc.doc-base deleted
=====================================
@@ -1,9 +0,0 @@
-Document: libgoogle-auto-value-gson-java-doc
-Title: API Javadoc for AutoValue: Gson Extension
-Author: Ryan Harter
-Abstract: This manual describes the API of AutoValue: Gson Extension.
-Section: Programming/Java
-
-Format: HTML
-Index: /usr/share/doc/libgoogle-auto-value-gson-java/javadoc/index.html
-Files: /usr/share/doc/libgoogle-auto-value-gson-java/javadoc/*


=====================================
debian/libgoogle-auto-value-gson-java-doc.docs deleted
=====================================
@@ -1 +0,0 @@
-build/docs/javadoc


=====================================
debian/libgoogle-auto-value-gson-java-doc.examples deleted
=====================================
@@ -1,2 +0,0 @@
-example/build.gradle
-example/src


=====================================
debian/libgoogle-auto-value-gson-java-doc.linktrees deleted
=====================================
@@ -1,6 +0,0 @@
-replace usr/share/javascript/jquery/jquery.min.js usr/share/doc/libgoogle-auto-value-gson-java/javadoc/script-files/jquery-3.7.1.min.js
-replace usr/share/javascript/jquery-ui-themes/base/jquery-ui.min.css usr/share/doc/libgoogle-auto-value-gson-java/javadoc/resource-files/jquery-ui.min.css
-replace usr/share/javascript/jquery-ui/jquery-ui.min.js usr/share/doc/libgoogle-auto-value-gson-java/javadoc/script-files/jquery-ui.min.js
-replace usr/share/javascript/jquery/jquery.min.js usr/share/doc/libgoogle-auto-value-gson-java/examples/example/build/docs/javadoc/script-files/jquery-3.7.1.min.js
-replace usr/share/javascript/jquery-ui-themes/base/jquery-ui.min.css usr/share/doc/libgoogle-auto-value-gson-java/examples/example/build/docs/javadoc/resource-files/jquery-ui.min.css
-replace usr/share/javascript/jquery-ui/jquery-ui.min.js usr/share/doc/libgoogle-auto-value-gson-java/examples/example/build/docs/javadoc/script-files/jquery-ui.min.js


=====================================
debian/patches/gradle-compatibility.patch
=====================================
@@ -0,0 +1,83 @@
+Description: Fix the compatibility with Gradle 5
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -44,11 +44,6 @@
+     gson: 'com.google.code.gson:gson:2.8.5'
+ ]
+ 
+-task wrapper(type: Wrapper) {
+-    gradleVersion = '4.10.2'
+-    distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
+-}
+-
+ allprojects {
+     tasks.withType(Javadoc) {
+         options.links = []
+--- a/auto-value-gson-extension/build.gradle
++++ b/auto-value-gson-extension/build.gradle
+@@ -4,14 +4,13 @@
+     id 'java-library'
+     id 'maven-publish'
+ }
+-apply plugin: 'net.ltgt.apt'
+ 
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ 
+ dependencies {
+-    apt 'com.google.auto.service:auto-service:1.0-rc5'
+-    apt 'com.google.auto.value:auto-value:1.7'
++    annotationProcessor 'com.google.auto.service:auto-service:1.0-rc5'
++    annotationProcessor 'com.google.auto.value:auto-value:1.7'
+     compileOnly 'com.google.auto.service:auto-service:1.0-rc5'
+     compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
+ 
+--- a/auto-value-gson-factory/build.gradle
++++ b/auto-value-gson-factory/build.gradle
+@@ -4,13 +4,12 @@
+     id 'java-library'
+     id 'maven-publish'
+ }
+-apply plugin: 'net.ltgt.apt'
+ 
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ 
+ dependencies {
+-    apt 'com.google.auto.service:auto-service:1.0-rc5'
++    annotationProcessor 'com.google.auto.service:auto-service:1.0-rc5'
+     compileOnly 'com.google.auto.service:auto-service:1.0-rc5'
+ 
+     api 'com.google.auto.value:auto-value-annotations:1.7'
+--- a/example/build.gradle
++++ b/example/build.gradle
+@@ -1,5 +1,4 @@
+ apply plugin: 'java'
+-apply plugin: 'net.ltgt.apt'
+ 
+ 
+ tasks.withType(JavaCompile) {
+@@ -7,8 +6,8 @@
+ }
+ 
+ dependencies {
+-    apt 'com.google.auto.value:auto-value:1.7'
+-    apt project(':auto-value-gson')
++    annotationProcessor 'com.google.auto.value:auto-value:1.7'
++    annotationProcessor project(':auto-value-gson')
+ 
+     compileOnly project(':auto-value-gson')
+     compileOnly 'com.google.auto.value:auto-value-annotations:1.7'
+@@ -16,8 +15,8 @@
+     compile project(':auto-value-gson-runtime')
+ 
+     testCompile 'junit:junit:4.12'
+-    testApt 'com.google.auto.value:auto-value:1.7'
+-    testApt project(':auto-value-gson')
++    testAnnotationProcessor 'com.google.auto.value:auto-value:1.7'
++    testAnnotationProcessor project(':auto-value-gson')
+ 
+     testCompileOnly 'com.google.auto.value:auto-value-annotations:1.7'
+ }


=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ remove-shadow-plugin.patch
 gradle-4.4-compatibility.patch
 fix-tests-for-java9-plus.patch
 depends-on-jsr305.patch
+gradle-compatibility.patch


=====================================
debian/rules
=====================================
@@ -1,10 +1,10 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with maven-repo-helper,linktree
+	dh $@ --with maven-repo-helper
 
 override_dh_auto_build:
-	dh_auto_build -- jar javadoc
+	dh_auto_build -- jar
 
 
 override_dh_auto_install:


=====================================
debian/tests/control
=====================================
@@ -1,7 +1,8 @@
 Tests: run-tests-01
-Depends: default-jdk,
-         libautotransient-java,
-         libgoogle-auto-value-java,
-         libgoogle-gson-java,
-         @
+Depends:
+ default-jdk,
+ libautotransient-java,
+ libgoogle-auto-value-java,
+ libgoogle-gson-java,
+ @
 Restrictions: allow-stderr


=====================================
debian/watch
=====================================
@@ -1,4 +1,5 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?(\d[\d\.]*)\.tar\.gz%auto-value-gson-java-$1.tar.gz%" \
-    https://github.com/rharter/auto-value-gson/tags \
-    (?:.*?/)(\d[\d\.]*)\.tar\.gz
+Version: 5
+Mode: git
+Source: https://github.com/rharter/auto-value-gson
+Matching-Pattern: refs/tags/([\d.]+)
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/auto-value-gson-java/-/compare/f1e018d946aae95df1d7d91d91667770e46ffdfb...b613a9fcd153314d3dfffcfca678a4429d5d623f

-- 
View it on GitLab: https://salsa.debian.org/java-team/auto-value-gson-java/-/compare/f1e018d946aae95df1d7d91d91667770e46ffdfb...b613a9fcd153314d3dfffcfca678a4429d5d623f
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/5c8f675c/attachment.htm>


More information about the pkg-java-commits mailing list