Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a plethora of warnings about deprecated features failing to work in the upcoming gradle 9 release #167

Open
crowlogic opened this issue Mar 28, 2024 · 0 comments

Comments

@crowlogic
Copy link

to reproduce just check out the arb4j project and build it

> Task :test FAILED
The compileClasspathCopy configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 9.0. Please use another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'copyRecursive()' is deprecated for configuration 'compileOnly', which has permitted usage(s):
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'resolve()' is deprecated for configuration 'compileOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The compileOnlyCopy configuration has been deprecated for resolution. This will fail with an error in Gradle 9.0. Please resolve another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'getResolvedConfiguration()' is deprecated for configuration 'compileOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'copyRecursive()' is deprecated for configuration 'implementation', which has permitted usage(s):
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'resolve()' is deprecated for configuration 'implementationCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The implementationCopy configuration has been deprecated for resolution. This will fail with an error in Gradle 9.0. Please resolve another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'getResolvedConfiguration()' is deprecated for configuration 'implementationCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The runtimeClasspathCopy configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 9.0. Please use another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'copyRecursive()' is deprecated for configuration 'runtimeOnly', which has permitted usage(s):
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'resolve()' is deprecated for configuration 'runtimeOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The runtimeOnlyCopy configuration has been deprecated for resolution. This will fail with an error in Gradle 9.0. Please resolve another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'getResolvedConfiguration()' is deprecated for configuration 'runtimeOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'copyRecursive()' is deprecated for configuration 'testImplementation', which has permitted usage(s):
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'resolve()' is deprecated for configuration 'testImplementationCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The testImplementationCopy configuration has been deprecated for resolution. This will fail with an error in Gradle 9.0. Please resolve another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'getResolvedConfiguration()' is deprecated for configuration 'testImplementationCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'copyRecursive()' is deprecated for configuration 'testRuntimeOnly', which has permitted usage(s):
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
Calling configuration method 'resolve()' is deprecated for configuration 'testRuntimeOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The testRuntimeOnlyCopy configuration has been deprecated for resolution. This will fail with an error in Gradle 9.0. Please resolve another configuration instead. For more information, please refer to https://docs.gradle.org/8.7/userguide/declaring_dependencies.html#sec:deprecated-configurations in the Gradle documentation.
Calling configuration method 'getResolvedConfiguration()' is deprecated for configuration 'testRuntimeOnlyCopy', which has permitted usage(s):
        Consumable - this configuration can be selected by another project as a dependency (but this behavior is marked deprecated)
        Resolvable - this configuration can be resolved by this project to a set of files (but this behavior is marked deprecated)
        Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Resolvable'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_configuration_usage
The automatic loading of test framework implementation dependencies has been deprecated. This is scheduled to be removed in Gradle 9.0. Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#test_framework_implementation_dependencies

arb.expressions.ExpressionTest > testIntegralOfAConstant FAILED
    java.lang.AssertionError at ExpressionTest.java:23

178 tests completed, 1 failed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/crow/git/arb4j/build/reports/tests/test/index.html

* Try:
> Run with --scan to get full insights.

BUILD FAILED in 1s
6 actionable tasks: 1 executed, 5 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant