The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 8.0

26 views
Skip to first unread message

artur mis

unread,
Apr 1, 2022, 8:37:44 AM4/1/22
to CAS Community
Hello,

For: cas version 6.4.x

 ./gradlew build jibDockerBuild --warning-mode all


The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 8.0


Have you any solution  to avoid this warn/info?

artur mis

unread,
Apr 1, 2022, 9:00:31 AM4/1/22
to CAS Community, artur mis
https://docs.gradle.org/7.3.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archiveName for more details.
        at build_218aep7otrooporq3twiwmyez$_run_closure32.doCall(/work/cas-overlay-template-6.4/build.gradle:582)
        (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


in build.gradle  I have:

582      archiveName "cas.war"
583      baseName "cas"


I have tried  to change baseName  to archiveBaseName , but in this way compilation  was failed.
Reply all
Reply to author
Forward
0 new messages