Skip to content

Fix Gradle 7 Deprecations #3224

@garyrussell

Description

@garyrussell

I am not sure why, but it looks like the rename in schemaZip avoids the duplicate zip entries deprecation fixed in other projects.

These deprecations remain.

> Configure project :
The testRuntime configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testRuntimeOnly configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.2.2/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure7$_closure110.doCall(/Users/grussell/Development/spring-integration/build.gradle:425)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-amqp:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-core:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-event:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-feed:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-file:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-ftp:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-gemfire:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-groovy:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-http:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-ip:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-jdbc:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-jms:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-jmx:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-jpa:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-mail:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-mongodb:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-mqtt:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-redis:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-rmi:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-rsocket:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-scripting:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-security:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-sftp:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-stomp:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-stream:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-syslog:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-test:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-test-support:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-twitter:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-webflux:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-websocket:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-ws:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-xml:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-xmpp:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The configuration :spring-integration-zookeeper:compileClasspath was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
        at build_30727jw8lx1eqql4z9oe7u6rc$_run_closure50$_closure176.doCall(/Users/grussell/Development/spring-integration/build.gradle:1000)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions