Debian Patches

Status for gradle/4.10.3-1

Patch Description Author Forwarded Bugs Origin Last update
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
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
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
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
asm7.patch no
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-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
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
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
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
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
kotlin-dsl-compatibility.patch Fixes the compatibility with the Kotlin DSL 0.18.4 and 1.0 Gradle 4.10 expects the Kotlin DSL 1.0-rc-3, which is built with Gradle 4.10
and cannot be packaged before it. The constructs specific to that version are
replaced with the plain Gradle API, which any version of the DSL understands.
Emmanuel Bourg <ebourg@apache.org> not-needed
gradle-4.9-compatibility.patch Fixes the compatibility with Gradle 4.9 register() appears on NamedDomainObjectContainer in Gradle 4.10, and the Gradle
building this one is still the 4.9. The patch can be removed once 4.10 builds
itself.
Emmanuel Bourg <ebourg@apache.org> not-needed

All known versions for source package 'gradle'

Links