Skip to content

Gradle 10 deprecation warnings (multi-string dependency) #890

@rintaro-okahara

Description

@rintaro-okahara

Overview
When building audiveris from sources(development branch) on MacOS arm64 , ./gradlew build succeeds but Gradle reports multiple deprecation warnings. These warnings become errors on Gradle 10(dependency multi-string notation)

Expected behavior
No Gradle deprecation warnings that would break the build on Gradle 10.

Audiveris environment:
If possible, post the content of the "Help | About" dialog
(This dialog provides a Copy button which copies its content to the clip-board)
Otherwise, please post the information manually:

  • OS: macOS (Apple Silicon, arm64)
  • Audiveris version : 5.10.0
  • Building from sources? : Yes
  • Using an installer? : No

Additional context
the command line log is below.

rintaro@RintaronoMacBook-Pro audiveris % ./gradlew build --warning-mode all
Initialization. isFlatpak is not set

> Configure project :app
version: 5.10.0
hostOSVersion: 26.2
hostOS: macosx-arm64
targetOS: macosx-arm64
theMinJavaVersion: 25
theTessdataTag: 4.1.0
Build file '/Users/rintaro/work/dev/audiveris/app/build.gradle': line 117
Declaring dependencies using multi-string notation has been deprecated. This will fail with an error in Gradle 10. Please use single-string notation instead: "args4j:args4j:2.33". Consult the upgrading guide for further information: https://docs.gradle.org/9.1.0/userguide/upgrading_version_9.html#dependency_multi_string_notation
        at build_apykxx1r2pzn6rjzfeftuf4bq$_run_closure3.doCall$original(/Users/rintaro/work/dev/audiveris/app/build.gradle:117)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/rintaro/work/dev/audiveris/app/build.gradle': line 117
Declaring dependencies using multi-string notation has been deprecated. This will fail with an error in Gradle 10. Please use single-string notation instead: "ch.qos.logback:logback-classic:1.4.14". Consult the upgrading guide for further information: https://docs.gradle.org/9.1.0/userguide/upgrading_version_9.html#dependency_multi_string_notation
        at build_apykxx1r2pzn6rjzfeftuf4bq$_run_closure3.doCall$original(/Users/rintaro/work/dev/audiveris/app/build.gradle:117)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

(omitted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions