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

Logged message to fix formatting violations is incorrect when applied to a composite build #2421

Open
MariaSolOs opened this issue Feb 11, 2025 · 0 comments
Labels

Comments

@MariaSolOs
Copy link

If the plugin is applied to a composite build, the suggested command to fix spotless violations is incorrect.

E.g.: Consider the setup below.

my-composite
├── settings.gradle
├── build.gradle
└── my-utils
    ├── settings.gradle
    ├── build.gradle

If I apply this plugin in my-utils/build.gradle, a violation inside my-utils would be fixed by running ./gradlew :my-utils:spotlessApply. However this plugin suggests running :spotlessApply instead.

@nedtwigg nedtwigg added the bug label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants