-
Notifications
You must be signed in to change notification settings - Fork 425
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
Cannot compile with info.picocli:picocli-spring-boot-starter dependency #1294
Labels
Milestone
Comments
I suggest changing this: picocli/picocli-spring-boot-starter/build.gradle Lines 19 to 20 in 572e05f
... to:
This change should fix the issue. |
Thank you for raising this! |
MarkoMackic
pushed a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
MarkoMackic
added a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
…o be `api` scope" This reverts commit 35c06e7.
MarkoMackic
added a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
…o be `api` scope" This reverts commit 35c06e7.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using
info.picocli:picocli-spring-boot-starter:4.6.0
as a Gradle dependency.Looks like that after fixing Gradle warnings
info.picocli:picocli:4.6.0
transitive dependency became runtime and its classes can't be used at compile-time.picocli/picocli-spring-boot-starter/build.gradle
Lines 19 to 20 in 572e05f
I suppose
api
should be used instead ofimplementation
, as Gradle treatsimplementation
as runtime only dependencies.Take a look: https://mvnrepository.com/artifact/info.picocli/picocli-spring-boot-starter/4.6.0
The text was updated successfully, but these errors were encountered: