Skip to content

Gradle 8.0 warnings #67

@blasphemetheus

Description

@blasphemetheus

Problem: deprecated features of 7.?? Gradle used in build.gradle

Effect: might cause crashes, or just gradle warnings.

Using Gradle 8.0 here, should note in readme a dependency on using a pre-8.0 version of gradle to install, otherwise there might be issues, get a lot of gradle warnings :) Or you could change over to 8.0 Shrug. If so, warnings suggest changes as listed below:
prob just replace baseName with archiveBaseName and see if it throws an error.

Adding text of error message below >PS C:...\git\Ghidra-GameCube-Loader> ./gradlew --warning-mode all

Configure project :
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.5.1/dsl/org.gradle.api.artifacts.Configuration.html#org.gradle.api.artifacts.Configuration:extendsFrom(org.gradle.api.artifacts.Configuration[]) for more details.
at build_6l09yrd4pkydtf39ontptle3y$_run_closure5.doCall(C:\Users...\Desktop\git\Ghidra-GameCube-Loader*build.gradle:63*)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.baseName property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveBaseName property instead. See https://docs.gradle.org/7.5.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:baseName for more details.
at build_6l09yrd4pkydtf39ontptle3y$_run_closure6.doCall(C:\Users...\Desktop\git\Ghidra-GameCube-Loader*build.gradle:67*)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
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.5.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:extension for more details.
at build_6l09yrd4pkydtf39ontptle3y$_run_closure6.doCall(C:\Users...\Desktop\git\Ghidra-GameCube-Loader*build.gradle:68*)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the destinationDirectory property instead. See https://docs.gradle.org/7.5.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:destinationDir for more details.
at build_6l09yrd4pkydtf39ontptle3y$_run_closure6.doCall(C:\Users...\Desktop\git\Ghidra-GameCube-Loader*build.gradle:69*)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
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.5.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:version for more details.
at build_6l09yrd4pkydtf39ontptle3y$_run_closure6.doCall(C:\Users...\Desktop\git\Ghidra-GameCube-Loader*build.gradle:70*)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions