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

Gradle run: failure #1459

Closed
deining opened this issue Nov 10, 2021 · 1 comment
Closed

Gradle run: failure #1459

deining opened this issue Nov 10, 2021 · 1 comment
Labels
theme: build An issue or change related to the build system type: bug 🐛
Milestone

Comments

@deining
Copy link
Contributor

deining commented Nov 10, 2021

Glad you were able to release picocli 4.6.2 eventually!
However, gradle seems to be broken now:

$ ./gradlew tasks

> Configure project :
skipping jacoco test for Java version 15

FAILURE: Build failed with an exception.

* Where:
Script 'C:\path\to\repo\picocli-ad\gradle\publish-mavencentral.gradle' line: 7

* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugin 'io.codearte.nexus-staging'.
   > Nexus staging plugin should ONLY be applied on the ROOT project in a build. See https://github.com/Codearte/gradle-nexus-staging-plugin/issues/47 for explanation. If you really know what you are doingit can be overridden with setting 'gnsp.disableApplyOnlyOnRootProjectEnforcement' property.

* 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

BUILD FAILED in 1s
@remkop remkop added type: bug 🐛 theme: build An issue or change related to the build system labels Nov 11, 2021
@remkop remkop added this to the 4.6.3 milestone Nov 11, 2021
remkop added a commit that referenced this issue Nov 11, 2021
@remkop
Copy link
Owner

remkop commented Nov 11, 2021

Hi @deining, thank you for pointing that out!
I followed the recommended structure now and will test it with the next release. 😅

@remkop remkop closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: build An issue or change related to the build system type: bug 🐛
Projects
None yet
Development

No branches or pull requests

2 participants