Michael Oleske created GEODE-9161:
-------------------------------------
Summary: No gradle 7 deprecation warnings
Key: GEODE-9161
URL: https://issues.apache.org/jira/browse/GEODE-9161
Project: Geode
Issue Type: Improvement
Components: build
Reporter: Michael Oleske
Why this is important: At some point this project will update to gradle 7, and
it is better to stay on top of things then behind
Given I have cloned the geode repository
When I run ./gradlew build --warning-mode=all
Then I see no output about "This will fail in gradle 7.0" or "This is scheduled
to be removed in Gradle 7.0"
Notes:
Not all warnings appear at first, you'll likely have to run with several times
as you clean up
There are some gradle 8.0 warnings. If you happen to clean those up nice!
Otherwise ok to skip for now.
There's some oddities with properties being hardcoded in other places to their
deprecated name which probably requires real work.
The following types of errors are in the 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.8.3/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
The compile configuration has been deprecated for dependency declaration. This
will fail with an error in Gradle 7.0. Please use the implementation or api
configuration instead. Consult the upgrading guide for further information:
https://docs.gradle.org/6.8.3/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
The AbstractArchiveTask.baseName property has been deprecated. This is
scheduled to be removed in Gradle 7.0. Please use the archiveBaseName property
instead. See
https://docs.gradle.org/6.8.3/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:baseName
for more details.
The configuration :extensions:geode-modules:compileOnly 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.8.3/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors
for more details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)