Package: gradle / 4.4.1-8

Metadata

Package Version Patches format
gradle 4.4.1-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
gradle debian helper hook.patch | (download)

subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MavenResolver.java | 30 30 + 0 - 0 !
1 file changed, 30 insertions(+)

 adds a hook in mavenresolver to resolve the artifacts from the system repository
33_scala_zinc.diff | (download)

subprojects/language-scala/language-scala.gradle | 4 2 + 2 - 0 !
subprojects/language-scala/src/main/java/org/gradle/language/scala/internal/toolchain/DefaultScalaToolProvider.java | 7 1 + 6 - 0 !
subprojects/scala/src/main/java/org/gradle/api/internal/tasks/scala/ScalaCompilerFactory.java | 6 2 + 4 - 0 !
subprojects/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java | 6 1 + 5 - 0 !
4 files changed, 6 insertions(+), 17 deletions(-)

 _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 :
http://bugs.debian.org/639910

search_system_jar.diff | (download)

subprojects/core-api/src/main/java/org/gradle/internal/installation/CurrentGradleInstallationLocator.java | 8 1 + 7 - 0 !
subprojects/core-api/src/main/java/org/gradle/internal/installation/GradleInstallation.java | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 7 deletions(-)

 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.

relax_warnings.diff | (download)

gradle/strictCompile.gradle | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relax_warnings

resource-http produces lots of warnings and "-Werror" makes them errors.

generate pom.patch | (download)

build.gradle | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 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

ivy 2.4.0.patch | (download)

subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ivy 2.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

Rml4IEZUQkZTIHdpdGggaXZ5IDIuNC4wLiBQYXRjaCB0YWtlbiBmcm9tCmh0dHBzOi8vZ2l0aHVi
LmNvbS9taXpkZWJzay9ncmFkbGUvY29tbWl0L2UwMTM4YjEKVGhhbmtzIHRvIE1pa2/FgmFqIEl6
ZGVic2tpCgpGb3J3YXJkZWQ6IG5vCg==

34 disable code quality.patch | (download)

build.gradle | 1 0 + 1 - 0 !
buildSrc/build.gradle | 4 1 + 3 - 0 !
buildSrc/src/main/groovy/org/gradle/plugins/classycle/ClassyclePlugin.groovy | 1 0 + 1 - 0 !
subprojects/core/core.gradle | 1 0 + 1 - 0 !
4 files changed, 1 insertion(+), 6 deletions(-)

 34 disable code quality

Disable checkstyle and codenarc tasks during build Gradle failed to build on
amd64 due to an apparent upstream bug. As extra comment, the issue is not
present when gradle is built with Oracle JDK.

Bug-Debian: http://bugs.debian.org/719415
Bug-Upstream: http://issues.gradle.org/browse/GRADLE-2858
disable Kotlin.patch | (download)

subprojects/runtime-api-info/runtime-api-info.gradle | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 disable kotlin support.
 Kotlin is not in Debian yet.

disable aws.patch | (download)

build.gradle | 2 1 + 1 - 0 !
settings.gradle | 1 0 + 1 - 0 !
subprojects/dependency-management/dependency-management.gradle | 1 0 + 1 - 0 !
subprojects/ivy/ivy.gradle | 1 0 + 1 - 0 !
subprojects/maven/maven.gradle | 1 0 + 1 - 0 !
5 files changed, 1 insertion(+), 5 deletions(-)

 disable aws

AWS SDK for Java is not in Debian yet.

disable_buildSrc_tests.patch | (download)

buildSrc/build.gradle | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 disable_buildsrc_tests


docs.patch | (download)

buildSrc/build.gradle | 9 6 + 3 - 0 !
settings.gradle | 2 2 + 0 - 0 !
2 files changed, 8 insertions(+), 3 deletions(-)

 builds javadoc only
 Use a simplified `docs.gradle` which builds only the Javadoc.
drop http builder.patch | (download)

buildSrc/build.gradle | 4 0 + 4 - 0 !
buildSrc/src/main/groovy/org/gradle/testing/DistributedPerformanceTest.groovy | 82 6 + 76 - 0 !
2 files changed, 6 insertions(+), 80 deletions(-)

 drop http builder

http-builder is not in Debian yet

drop jmh gradle plugin.patch | (download)

gradle/groovyProject.gradle | 3 0 + 3 - 0 !
subprojects/base-services/base-services.gradle | 5 0 + 5 - 0 !
subprojects/build-cache/build-cache.gradle | 6 0 + 6 - 0 !
subprojects/native/native.gradle | 9 1 + 8 - 0 !
4 files changed, 1 insertion(+), 22 deletions(-)

 drop jmh gradle plugin

jmh-gradle-plugin is not in Debian yet

eclipse aether.patch | (download)

gradle/dependencies.gradle | 10 5 + 5 - 0 !
subprojects/build-init/src/main/java/org/gradle/buildinit/plugins/internal/maven/MavenProjectsCreator.java | 4 2 + 2 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/AbstractMavenPublishAction.java | 33 18 + 15 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/LoggingMavenTransferListener.java | 6 3 + 3 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/MavenDeployAction.java | 34 19 + 15 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/MavenInstallAction.java | 10 5 + 5 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/SnapshotVersionManager.java | 18 9 + 9 - 0 !
7 files changed, 61 insertions(+), 54 deletions(-)

 eclipse aether

Maven module originally uses aether which is deprecated. This patch changes it
to use eclipse-aether/maven-resolver.

normalize classpath.patch | (download)

buildSrc/src/main/groovy/org/gradle/build/ClasspathManifest.groovy | 42 40 + 2 - 0 !
subprojects/plugins/src/main/java/org/gradle/api/internal/plugins/GroovyJarFile.java | 4 2 + 2 - 0 !
2 files changed, 42 insertions(+), 4 deletions(-)

 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`.

jcommander.patch | (download)

subprojects/antlr/antlr.gradle | 1 1 + 0 - 0 !
subprojects/maven/maven.gradle | 1 1 + 0 - 0 !
subprojects/plugins/plugins.gradle | 1 1 + 0 - 0 !
subprojects/tooling-api-builders/tooling-api-builders.gradle | 1 1 + 0 - 0 !
4 files changed, 4 insertions(+)

 jcommander

Various modules use jcommander but do not declare.

maven 3.3 compatibility.patch | (download)

gradle/dependencies.gradle | 13 11 + 2 - 0 !
subprojects/build-init/src/main/java/org/gradle/buildinit/plugins/internal/maven/MavenProjectsCreator.java | 2 1 + 1 - 0 !
subprojects/maven/src/main/java/org/gradle/api/publication/maven/internal/action/AbstractMavenPublishAction.java | 2 1 + 1 - 0 !
3 files changed, 13 insertions(+), 4 deletions(-)

 maven 3.3 compatibility

Fix the compatibility with Maven 3.3

remove timestamps.patch | (download)

gradle/versioning.gradle | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 remove timestamps

his patch manually sets the timestamps and other dynamic strings that break
the reproducibility.

use local artifacts.patch | (download)

build.gradle | 5 2 + 3 - 0 !
buildSrc/build.gradle | 8 3 + 5 - 0 !
gradle/dependencies.gradle | 21 14 + 7 - 0 !
subprojects/build-init/build-init.gradle | 1 1 + 0 - 0 !
subprojects/core/core.gradle | 1 0 + 1 - 0 !
subprojects/dependency-management/dependency-management.gradle | 5 0 + 5 - 0 !
subprojects/reporting/reporting.gradle | 2 1 + 1 - 0 !
subprojects/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java | 2 1 + 1 - 0 !
8 files changed, 22 insertions(+), 23 deletions(-)

 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.
cast estimated runtime to long.patch | (download)

buildSrc/src/main/groovy/org/gradle/testing/DistributedPerformanceTest.groovy | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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.
source level.patch | (download)

subprojects/core/core.gradle | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 set the language level to 1.8 to fix the build failure with ant 1.10
java8 compatibility.patch | (download)

subprojects/base-services/src/main/java/org/gradle/internal/hash/Hashing.java | 2 1 + 1 - 0 !
subprojects/base-services/src/main/java/org/gradle/internal/io/StreamByteBuffer.java | 4 2 + 2 - 0 !
subprojects/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java | 13 7 + 6 - 0 !
3 files changed, 10 insertions(+), 9 deletions(-)

 makes gradle usable with java 8 even if compiled with java 9
disable binary compatibility.patch | (download)

buildSrc/build.gradle | 5 2 + 3 - 0 !
subprojects/distributions/distributions.gradle | 2 0 + 2 - 0 !
2 files changed, 2 insertions(+), 5 deletions(-)

 disable binary-compatibility plugin
 The plugin requires `javaparser` and `japicmp` which are not in Debian yet
gradle 4 compatibility.patch | (download)

build.gradle | 8 0 + 8 - 0 !
buildSrc/build.gradle | 3 3 + 0 - 0 !
buildSrc/src/main/groovy/org/gradle/modules/ClasspathManifestPatcher.groovy | 3 2 + 1 - 0 !
buildSrc/src/main/groovy/org/gradle/modules/JarPatcher.groovy | 3 2 + 1 - 0 !
buildSrc/src/main/groovy/org/gradle/plugins/classycle/ClassyclePlugin.groovy | 2 1 + 1 - 0 !
gradle/crossVersionTest.gradle | 1 0 + 1 - 0 !
gradle/integTest.gradle | 1 0 + 1 - 0 !
gradle/performanceTest.gradle | 1 0 + 1 - 0 !
gradle/taskProperties.gradle | 2 1 + 1 - 0 !
subprojects/smoke-test/smoke-test.gradle | 1 0 + 1 - 0 !
subprojects/soak/soak.gradle | 1 0 + 1 - 0 !
subprojects/wrapper/wrapper.gradle | 6 0 + 6 - 0 !
12 files changed, 9 insertions(+), 23 deletions(-)

 gradle 4 compatibility
 Some APIs buildSrc uses are from Gradle 4 and but we have Gradle 3.4.1 only.
disable google apis.patch | (download)

build.gradle | 2 1 + 1 - 0 !
settings.gradle | 1 0 + 1 - 0 !
2 files changed, 1 insertion(+), 2 deletions(-)

 disable google apis
 Google Apis are not in Debian yet.
disable internal android performance testing.patch | (download)

settings.gradle | 1 0 + 1 - 0 !
subprojects/performance/templates.gradle | 10 0 + 10 - 0 !
2 files changed, 11 deletions(-)

 disable internalandroidperformancetesting
 No idea why this project keeps being run while being excluded, have to
 disable it by force.
java11 compatibility.patch | (download)

subprojects/base-services/src/main/java/org/gradle/api/JavaVersion.java | 123 84 + 39 - 0 !
subprojects/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java | 95 70 + 25 - 0 !
subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java | 59 35 + 24 - 0 !
subprojects/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmVersionDetector.java | 2 1 + 1 - 0 !
4 files changed, 190 insertions(+), 89 deletions(-)

 fixes the compatibility with java 11. the patch can be removed after upgrading to the version 4.8
asm7.patch | (download)

subprojects/core/src/main/java/org/gradle/api/internal/tasks/compile/ApiMemberSelector.java | 6 3 + 3 - 0 !
subprojects/core/src/main/java/org/gradle/api/internal/tasks/compile/MethodStubbingApiMemberAdapter.java | 2 1 + 1 - 0 !
subprojects/core/src/main/java/org/gradle/api/internal/tasks/compile/SortingAnnotationVisitor.java | 4 2 + 2 - 0 !
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/FileCacheBackedScriptClassCompiler.java | 4 2 + 2 - 0 !
subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java | 2 1 + 1 - 0 !
subprojects/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreator.java | 2 1 + 1 - 0 !
subprojects/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/ClassFile.groovy | 4 2 + 2 - 0 !
subprojects/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/GroovyCompileTransformingClassLoader.java | 10 5 + 5 - 0 !
subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/asm/ClassDependenciesVisitor.java | 2 1 + 1 - 0 !
subprojects/launcher/src/main/java/org/gradle/tooling/internal/provider/serialization/ClientSidePayloadClassLoaderFactory.java | 6 3 + 3 - 0 !
subprojects/platform-jvm/src/test/groovy/org/gradle/jvm/tasks/api/internal/ApiClassExtractorTest.groovy | 6 3 + 3 - 0 !
subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidateTaskProperties.java | 2 1 + 1 - 0 !
subprojects/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/TestClassVisitor.java | 2 1 + 1 - 0 !
subprojects/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestMethodDetecter.java | 2 1 + 1 - 0 !
subprojects/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestMethodDetecter.java | 2 1 + 1 - 0 !
15 files changed, 28 insertions(+), 28 deletions(-)

---
ivy artifact backport.patch | (download)

subprojects/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/AbstractIvyArtifact.java | 130 130 + 0 - 0 !
subprojects/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/FileBasedIvyArtifact.java | 86 86 + 0 - 0 !
2 files changed, 216 insertions(+)

 backports the refactored ivyartifact classes from gradle 4.8 to help building kotlin