Debian Patches
Status for gradle/5.6-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 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 | ||
| 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 | |||
| 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 | ||
| 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 | ||
| 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 | ||
| 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 | |||
| 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 | |||
| permit-illegal-access.patch | Adds the --add-opens option to run Gradle on Java 17 The launcher script is also generated with the template of this source tree, instead of the one of the Gradle version performing the build. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| 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 | ||
| snakeyaml-2-compatibility.patch | Compatibility with SnakeYAML 2 | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| 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 | |||
| 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 | |||
| 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 | |||
| jgit-6-compatibility.patch | Fix the compatibility with JGit 6 The JSch based SSH support was removed in JGit 6; Gradle only used it to install an empty session configuration callback. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| kotlin-compatibility.patch | Fix the compatibility with the packaged Kotlin Enum.declaringClass is rejected since the Kotlin of Debian backported the prohibition of that synthetic property from Kotlin 1.4.30. Gradle itself writes declaringJavaClass from 8.1. . Gradle 5.6 is built for Kotlin 1.3.41, the scripting API changes of Kotlin 1.3.40 are reverted for the packaged Kotlin 1.3.31: the KotlinScriptDefinition package, SCRIPT_DEFINITIONS, SamConversionPerArgument, the flags of the kotlinx-metadata property visitor and the scripting-compiler-impl-embeddable module. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| native-platform-0.14-compatibility.patch | Fix the compatibility with native-platform 0.14 The file, memory and terminal packages appear in native-platform 0.15, TerminalOutput is named Terminal in 0.14, and Terminals.isTerminalInput() appears in native-platform 0.18. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| declare-kotlin-dsl-classpath.patch | Declare the Kotlin libraries missing from the Kotlin DSL classpath The Kotlin DSL depends on a modified kotlin-compiler-embeddable JAR embedding the classpath metadata of Gradle. This modified JAR is not built in Debian, and the one from the kotlin package is used instead. The transitive dependencies are therefore declared explicitly to compensate for the missing metadata. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| ignore-ktlint-plugin.patch | Drop the ktlint convention plugin, not packaged | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-build-scan-plugin.patch | Ignore the non-free build scan plugin | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| javaparser-compatibility.patch | Use StaticJavaParser to parse the Java sources The static parse methods of JavaParser were moved to StaticJavaParser in JavaParser 3.16. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-flexmark.patch | Drop the Markdown rendering task The flexmark version packaged in Debian isn't compatible with the version used by Gradle, and the task only renders the release notes. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-idea-ext-plugin.patch | Drop the IDE configuration plugin, idea-ext is not packaged The plugin only generates the IntelliJ IDEA project files. | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-plugin-publish-plugin.patch | Drop the plugin publishing plugin, not packaged The plugin only publishes the Kotlin DSL plugins to the Gradle plugin portal. | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-performance-testing.patch | Do not build the CI performance testing machinery It needs http-builder and junit-xml-parser, neither packaged. The projects are discarded by debian/gradle.ignoreRules; the patch drops the references left in the projects still built. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| disable-java-platform-plugin.patch | Do not apply the java-platform plugin The strict version constraints declared by the platform do not accommodate the versions substituted by gradle-debian-helper, and the platform is not essential to the build of Gradle. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| drop-kotlin-dsl-test-fixtures.patch | Drop the Kotlin DSL test fixtures, mockito-kotlin is not packaged They only serve the tests, which are not run during the package build. | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| kotlin-jar-names.patch | Recognize the unversioned Kotlin JARs The filter selecting the Kotlin JARs for the build script classpath expects the version in the file name. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| ignore-configuration-blocks.patch | Remove the ignored configuration blocks from the Kotlin scripts A Kotlin script is compiled before it runs, so the body of a block configuring a plugin unavailable in Debian can't be absorbed at execution time the way it is in Groovy. The blocks listed in debian/gradle.ignoreRules are blanked out of the source before the compiler sees it, with the lexer upstream uses to locate its own plugins and buildscript blocks. The file on disk is not modified and the line numbers are preserved. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| locate-unversioned-modules.patch | Locate the unversioned modules in the Gradle lib directory The libraries of Debian are installed without a version in the file name, and the module lookup expects one. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| create-code-quality-task.patch | Create the codeQuality task on demand The task is declared by the code quality script, which debian/gradle.ignoreRules discards. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| disable-instant-execution-report.patch | Copy the static resources of the instant execution report, its project is ignored (it requires kotlin-stdlib-js, not packaged) | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| ignored-project-groups.patch | Skip the projects ignored by debian/gradle.ignoreRules when building the project groups | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| gradle-5.5-compatibility.patch | Fix the compatibility with Gradle 5.5 The Groovy compilation avoidance feature preview and the java-test-fixtures plugin are not known by Gradle 5.5. |
Emmanuel Bourg <ebourg@apache.org> | not-needed |
