Skip to content

Running the image fails because of deprecated gradle features #43

@alexanderjung-sdxag

Description

@alexanderjung-sdxag

Running the command for windows (docker with Windows/WSL2) yields the following output:

c:\...\src>docker run --rm --entrypoint /bin/bash -it -v %cd%:/project doctoolchain/doctoolchain:v2.2.1 -c "doctoolchain . %1 %2 %3 %4 %5 %6 %7 %8 %9 -PinputPath=src/main/asciidoc -PmainConfigFile=config/docToolchain.groovy && exit"
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :

Config file '/project/config/docToolchain.groovy' does not exist'
[ant:input]
[ant:input] do you want me to create a default one for you? (y, n)
y
You are using one or more deprecated Asciidoctor Gradle plugin features. To help with migration run with --warning-mode=all.

FAILURE: Build failed with an exception.

* Where:
Script '/home/dtcuser/docToolchain/scripts/AsciiDocBasics.gradle' line: 40

* What went wrong:
A problem occurred evaluating script.
> /project/config/docToolchain.groovy (No such file or directory)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 21s

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