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

Fix most Gradle warnings in build #2904

Merged
merged 6 commits into from
Feb 11, 2023
Merged

Fix most Gradle warnings in build #2904

merged 6 commits into from
Feb 11, 2023

Commits on Feb 7, 2023

  1. Fix deprecation: AbstractArchiveTask.extension

    The AbstractArchiveTask.extension property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveExtension property instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:extension for more details.
    at org.gradle.api.tasks.bundling.AbstractArchiveTask.getExtension(AbstractArchiveTask.java:378)
    at org.gradle.api.tasks.bundling.Jar_Decorated.getExtension(Unknown Source)
    at org.gradle.api.tasks.bundling.Jar_Decorated.getProperty(Unknown Source)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf$_run_closure3$_closure11$_closure13$_closure16$_closure17.doCall(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:61)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf$_run_closure3$_closure11$_closure13$_closure16.doCall(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:57)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf$_run_closure3$_closure11$_closure13.doCall(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:53)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf$_run_closure3$_closure11.doCall(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:41)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf$_run_closure3.doCall(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:40)
    at java_publication_3m1q2um515b0jc9w5l4jkv2vf.run(P:\projects\contrib\github-mockito\gradle\java-publication.gradle:39)
    at java_library_31pwb6uziesoanbjna4tijtgv.run(P:\projects\contrib\github-mockito\gradle\java-library.gradle:8)
    at build_e6jjcbuu9ezmj4rzb0cym1acv.run(P:\projects\contrib\github-mockito\build.gradle:39)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    31503bc View commit details
    Browse the repository at this point in the history
  2. Fix deprecation: AbstractArchiveTask.version

    The AbstractArchiveTask.version property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveVersion property instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:version for more details.
    at org.gradle.api.tasks.bundling.AbstractArchiveTask.getVersion(AbstractArchiveTask.java:334)
    at org.gradle.api.tasks.bundling.Jar_Decorated.getVersion(Unknown Source)
    at osgi_1s7hu8z26iat6hd1sfy12d5of$_run_closure1$_closure2.doCall(P:\projects\contrib\github-mockito\gradle\mockito-core\osgi.gradle:6)
    at osgi_1s7hu8z26iat6hd1sfy12d5of$_run_closure1.doCall(P:\projects\contrib\github-mockito\gradle\mockito-core\osgi.gradle:5)
    at osgi_1s7hu8z26iat6hd1sfy12d5of.run(P:\projects\contrib\github-mockito\gradle\mockito-core\osgi.gradle:3)
    at build_e6jjcbuu9ezmj4rzb0cym1acv.run(P:\projects\contrib\github-mockito\build.gradle:44)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    7baac42 View commit details
    Browse the repository at this point in the history
  3. Fix deprecation: AbstractArchiveTask.version

    The AbstractArchiveTask.version property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveVersion property instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:version for more details.
    at org.gradle.api.tasks.bundling.AbstractArchiveTask.getVersion(AbstractArchiveTask.java:334)
    at org.gradle.api.tasks.bundling.Jar_Decorated.getVersion(Unknown Source)
    at junit_jupiter_eg2xy6r7a4uptto82iioip1km$_run_closure3$_closure7.doCall(P:\projects\contrib\github-mockito\subprojects\junit-jupiter\junit-jupiter.gradle:23)
    at junit_jupiter_eg2xy6r7a4uptto82iioip1km$_run_closure3.doCall(P:\projects\contrib\github-mockito\subprojects\junit-jupiter\junit-jupiter.gradle:22)
    at junit_jupiter_eg2xy6r7a4uptto82iioip1km.run(P:\projects\contrib\github-mockito\subprojects\junit-jupiter\junit-jupiter.gradle:20)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    82bcce4 View commit details
    Browse the repository at this point in the history
  4. Fix deprecation: Report.enabled

    The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:enabled for more details.
    at org.gradle.api.reporting.internal.SimpleReport.setEnabled(SimpleReport.java:112)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated.setEnabled(Unknown Source)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated.enabled(Unknown Source)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated$enabled.call(Unknown Source)
    at coverage_bdrf6ncoyqn26tscdjn3v6kje$_run_closure1$_closure4.doCall(P:\projects\contrib\github-mockito\gradle\root\coverage.gradle:38
    at coverage_bdrf6ncoyqn26tscdjn3v6kje$_run_closure1.doCall(P:\projects\contrib\github-mockito\gradle\root\coverage.gradle:37)
    at coverage_bdrf6ncoyqn26tscdjn3v6kje.run(P:\projects\contrib\github-mockito\gradle\root\coverage.gradle:1)
    at build_e6jjcbuu9ezmj4rzb0cym1acv.run(P:\projects\contrib\github-mockito\build.gradle:41)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    3159702 View commit details
    Browse the repository at this point in the history
  5. Fix deprecation: Report.enabled

    The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:enabled for more details.
    at org.gradle.api.reporting.internal.SimpleReport.setEnabled(SimpleReport.java:112)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated.setEnabled(Unknown Source)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated.enabled(Unknown Source)
    at org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport_Decorated$enabled.call(Unknown Source)
    at java_library_31pwb6uziesoanbjna4tijtgv$_run_closure3$_closure5.doCall(P:\projects\contrib\github-mockito\gradle\java-library.gradle:33)
    at java_library_31pwb6uziesoanbjna4tijtgv$_run_closure3.doCall(P:\projects\contrib\github-mockito\gradle\java-library.gradle:32)
    at build_e6jjcbuu9ezmj4rzb0cym1acv$_run_closure1.doCall(P:\projects\contrib\github-mockito\build.gradle:77)
    at build_e6jjcbuu9ezmj4rzb0cym1acv.run(P:\projects\contrib\github-mockito\build.gradle:50)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    3b01486 View commit details
    Browse the repository at this point in the history
  6. Adding a Configuration as a dependency is a confusing behavior which …

    …isn't recommended.
    
    Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See https://docs.gradle.org/7.6/dsl/org.gradle.api.artifacts.Configuration.html#org.gradle.api.artifacts.Configuration:extendsFrom(org.gradle.api.artifacts.Configuration[]) for more details.
    at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.doAdd(DefaultDependencyHandler.java:181)
    at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler$DirectDependencyAdder.add(DefaultDependencyHandler.java:444)
    at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler$DirectDependencyAdder.add(DefaultDependencyHandler.java:439)
    at build_e6jjcbuu9ezmj4rzb0cym1acv$_run_closure3.doCall(P:\projects\contrib\github-mockito\build.gradle:96)
    at build_e6jjcbuu9ezmj4rzb0cym1acv.run(P:\projects\contrib\github-mockito\build.gradle:87)
    TWiStErRob committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    da3ce16 View commit details
    Browse the repository at this point in the history