Debian Patches
Status for gradle/4.7-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| serializer-equality.patch | Make the annotation processor serializer comparable DefaultCacheAccess compares the serializers of a cache with equals() before reusing it. This one holds no state but inherits the identity equals(), so two equivalent instances never match and the annotation processor cache is refused with a mismatch naming the very same type on both sides. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| gradle-debian-helper-plugin-filter.patch | Ignore the plugins and projects listed in debian/gradle.ignoreRules With this patch Gradle ignores the plugins, projects and blocks declared in debian/gradle.ignoreRules. The rules are parsed by gradle-debian-helper, called by reflection because Gradle does not depend on it. Nothing is ignored when the file is absent or the helper isn't installed. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| eclipse-aether.patch | eclipse aether Maven module originally uses aether which is deprecated. This patch changes it to use eclipse-aether/maven-resolver. |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | no | 2017-11-29 | ||
| java11-compatibility.patch | Fixes the compatibility with Java 11. The patch can be removed after upgrading to the version 4.8 https://github.com/gradle/gradle/commit/028548460bd929fd034a552704798ad7f689493a https://github.com/gradle/gradle/commit/3db6e256987053171178aa96a0ef46caedc8d1a4 https://github.com/gradle/gradle/commit/b645d9b576d0ecfa116a213f6df299fd2b1a9b7e |
no | backport, https://github.com/gradle/gradle/commit/ac15612d41b43c39c8e39d12fdd6621589b0f782 | |||
| asm7.patch | no | |||||
| ivy-artifact-backport.patch | Backports the refactored IvyArtifact classes from Gradle 4.8 to help building Kotlin | no | backport, https://github.com/gradle/gradle/commit/e076a783 | |||
| fix-CVE-2019-11065.patch | not-needed | backport, https://github.com/gradle/gradle/pull/8927 | ||||
| guava-compatibility.patch | Fixes the compatibility with the recent versions of Guava. Source level must be 1.8 or higher to use the updated predicates in Guava. | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| backport-CommandLineArgumentProvider.patch | Backport CommandLineArgumentProvider (Needed to package kotlin) | Samyak Jain <samyak.jn11@gmail.com> | no | |||
| backport-FeaturePreviews.patch | Backport the newer feature previews (needed to package kotlin) Gradle 4.6 ships its own FeaturePreviews, so the later feature names are added to it rather than to a second class in core-api: core-api comes first on the classpath, and its copy would hide the one Gradle itself uses, dropping IMPROVED_POM_SUPPORT. |
Samyak Jain <samyak.jn11@gmail.com> | no | https://github.com/gradle/gradle/subprojects/core-api/src/main/java/org/gradle/api/internal/FeaturePreviews.java | ||
| backport-TaskProvider.patch | Backport TaskProvider (Needed to package kotlin) | Samyak Jain <samyak.jn11@gmail.com> | no | |||
| backport-NamedDomainObjectProvider.patch | Backport NamedDomainObjectProvider (Needed to package kotlin) | Samyak Jain <samyak.jn11@gmail.com> | no | |||
| source-level.patch | Set the language level to 1.8 to fix the build failure with Ant 1.10 and OpenJDK 17 | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| permit-illegal-access.patch | Adds the --add-opens option to run Gradle on Java 17 | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| java17-compatibility.patch | Fix SourcepathIgnoringInvocationHandler on Java 9 Use the method provided by the proxy API instead of trying to look up the same method on the delegate's class. It is unclear why this was done in the first place. Trying to access the method from the delegate lead to illegal access exceptions on certain JDKs. . This patch can be removed after upgrading to Gradle 4.8 |
Stefan Oehme <stefan@gradle.com> | no | upstream, https://github.com/gradle/gradle/commit/f6fd43e1 | ||
| auto-adjust-language-level.patch | Adjust the source/target level automatically for building with recent JDKs | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| CVE-2019-16370.patch | signing plugin: use SHA512 instead of SHA1 when signing artifacts PGP signs a digest, so MITM is still possible provided an attacker can update the artifact in such a way that its SHA1 is intact. Relevant article is https://medium.com/@jonathan.leitschuh/many-of-these-gpg-signatures-are-signed-with-sha-1-which-is-vulnerable-to-a-second-preimage-attack-67104d827930 |
Vladimir Sitnikov <sitnikov.vladimir@gmail.com> | no | 2019-09-10 | ||
| type-inference-fix.patch | Fixes the type inference errors when building with the source/target level set to Java 8 | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| java25-compat.patch | Catch exception when clearing Security Manager Java 25 disables setting Security Manager. The class may be removed in the future releases. The patch is not needed upstream, as Gradle 9.x is compatible with Java 25. |
Vladimir Petko <vladimir.petko@canonical.com> | not-needed | debian | 2025-02-11 | |
| snakeyaml-2-compatibility.patch | Compatibility with SnakeYAML 2 JavaBeanDumper and Loader were removed in SnakeYAML 2, which is the version packaged in Debian. The bean is now dumped with a Representer mapping the class to a plain map, which is what JavaBeanDumper(false) used to produce. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| java9-modules-compatibility.patch | Implement CompilationTask.addModules() JavaCompiler.CompilationTask gained addModules() in Java 9, after this class was written, and the decorator no longer compiles without it. The call is simply forwarded to the wrapped task. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-jmh-gradle-plugin.patch | drop jmh gradle plugin jmh-gradle-plugin is not in Debian yet |
Markus Koschany <apo@debian.org> | no | 2017-11-18 | ||
| drop-dependency-check-plugin.patch | Drop the OWASP dependency check plugin buildSrc compiles DependencyVulnerabilitiesPlugin against org.owasp:dependency-check-gradle, which is not packaged. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| gradle-debian-helper-hook.patch | Adds a hook in MavenResolver to resolve the artifacts from the system repository | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| 33_scala_zinc.diff | _scala_zinc No Zinc Compiler (https://github.com/typesafehub/zinc) in Debian. Zinc depends on SBT compiler and SBT is not yet in Debian See SBT ITP : https://bugs.debian.org/639910 |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | not-needed | 2017-11-12 | ||
| search_system_jar.diff | search_system_jar Gradle searches its own directory for Java libraries ignoring /usr/share/java/. Somehow Gradle even fails to locate its home directory which is /usr/share/gradle/. This patch fixes these issues, and the large amount of symlinks in the binary packages may be possible to remove. Maintaining so many symlinks is too error prone. |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | no | 2017-11-12 | ||
| generate-pom.patch | generate_pom By default Gradle won't generate POMs for itself. generate_pom.gradle makes Gradle auto generate POMs for all of the JARs so that we can install the POMs to /usr/share/maven-repo |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | not-needed | 2017-11-12 | ||
| ivy-2.4.0.patch | ivy 2.4.0 Rml4IEZUQkZTIHdpdGggaXZ5IDIuNC4wLiBQYXRjaCB0YWtlbiBmcm9tCmh0dHBzOi8vZ2l0aHVi LmNvbS9taXpkZWJzay9ncmFkbGUvY29tbWl0L2UwMTM4YjEKVGhhbmtzIHRvIE1pa2/FgmFqIEl6 ZGVic2tpCgpGb3J3YXJkZWQ6IG5vCg== |
Markus Koschany <apo@debian.org> | no | 2015-11-11 | ||
| disable-aws.patch | disable aws AWS SDK for Java is not in Debian yet. |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | no | 2017-11-29 | ||
| disable_buildSrc_tests.patch | disable_buildSrc_tests | Markus Koschany <apo@debian.org> | no | 2017-11-12 | ||
| docs.patch | Builds Javadoc only Use a simplified `docs.gradle` which builds only the Javadoc. | Kai-Chung Yan | not-needed | |||
| drop-http-builder.patch | drop http builder http-builder is not in Debian yet |
Markus Koschany <apo@debian.org> | no | 2017-11-18 | ||
| normalize-classpath.patch | Normalize the generated classpath in every JAR Gradle uses its own class loading mechanism which uses a dedicated classpath file stored in every JAR. The JAR names are really names, not paths, so they need to be normalized so that Gradle can search `/usr/share/java` for them. . This patch also sorts the generated classpath to improve reproducibility. . One bug of this patch is that the Groovy version is hard-coded, but it seems not to affect the actual result of running `gradle --version`. |
Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | no | 2022-09-29 | ||
| jcommander.patch | jcommander Various modules use jcommander but do not declare. |
Markus Koschany <apo@debian.org> | not-needed | 2017-11-18 | ||
| maven-3.3-compatibility.patch | maven 3.3 compatibility Fix the compatibility with Maven 3.3 |
Emmanuel Bourg <ebourg@apache.org> | no | 2017-11-18 | ||
| remove-timestamps.patch | remove timestamps This patch manually sets the timestamps and other dynamic strings that break the reproducibility. |
Markus Koschany <apo@debian.org> | no | 2017-11-18 | ||
| use-local-artifacts.patch | use local artifacts Use local jar files to build Gradle. The core point is using a local Maven repository pointing to `/usr/share/maven-repo`. Due to some invisible bug, `resolutionStrategy` is able to override artifact versions only, so we have to patch some artifact names here. |
Markus Koschany <apo@debian.org> | not-needed | 2017-11-18 | ||
| cast-estimated-runtime-to-long.patch | gradle 3.4.1 FTBFS with a missing cast to long estimatedRuntime must be cast to long otherwise gradle 3.4.1 FTBFS with buildSrc/src/main/groovy/org/gradle/testing/DistributedPerformanceTest.groovy: 134: [Static type checking] - Cannot assign value of type java.math.BigDecimal to variable of type long. |
Tiago Stürmer Daitx <tiago.daitx@ubuntu.com> | no | debian | 2018-03-19 | |
| java8-compatibility.patch | Makes Gradle usable with Java 8 even if compiled with Java 9 | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| disable-binary-compatibility.patch | Disable binary-compatibility plugin The plugin requires `javaparser` and `japicmp` which are not in Debian yet | Kai-Chung Yan | not-needed | |||
| disable-google-apis.patch | Disable Google APIs Google Apis are not in Debian yet. | Kai-Chung Yan | not-needed | |||
| disable-internal-android-performance-testing.patch | Disable internalAndroidPerformanceTesting No idea why this project keeps being run while being excluded, have to disable it by force. |
Kai-Chung Yan | not-needed | |||
| jdk24-generated-class-signature.patch | Declare the type variables of the decorated classes Since Java 24 (JDK-8337302) an undefined type variable in a generic signature throws TypeNotPresentException instead of resolving to null. The decorated subclasses copy the constructor signatures of their generic superclass without declaring its type variables, which breaks the cpp-library plugin on Java 25. |
Octavia Togami <otogami@gradle.com> | not-needed | backport, https://github.com/gradle/gradle/commit/8c9327df9c90409eb1024d582ac686918eb55d30 | ||
| reproducible-osgi-manifest.patch | Do not add the Bnd-LastModified header to the OSGi manifests when SOURCE_DATE_EPOCH is set | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-profiling-project-dependency.patch | Remove the dependency on the profiling project | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| kotlin-dsl-compatibility.patch | Adapt buildSrc to the packaged Kotlin DSL the() on an ExtensionAware receiver requires gradle-kotlin-dsl 0.16.3. | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-check-same-daemon-args.patch | Remove the daemon argument consistency check The check reads the gradle.properties that debian/rules removes, and fails with a FileNotFoundException. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-werror.patch | Remove the -Werror option It turns the warnings of a newer JDK into build failures. | Emmanuel Bourg <ebourg@apache.org> | not-needed |
