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

Running the image fails because of deprecated gradle features #43

Open
alexanderjung-sdxag opened this issue Jul 13, 2023 · 1 comment

Comments

@alexanderjung-sdxag
Copy link

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
@rdmueller
Copy link
Member

sorry, haven't noticed this issue before.

Have you already tried to follow the tutorial on https://doctoolchain.org/docToolchain/v2.0.x/020_tutorial/010_Install.html
The doctoolchain wrapper helps you to come up with the right docker command to start everything up.
It might be that the docs over here are outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants