question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task 'ide' not found in root project 'spotless'

See original GitHub issue

Hi all 👋 I’m new here and would love to start contributing, but I ran into the following while setting up the IDE for development.

The CONTRIBUTING.md guide mentions twice to run gradlew ide to setup the Eclipse IDE for development. But this results in the following error message:

./gradlew ide

FAILURE: Build failed with an exception.

* What went wrong:
Task 'ide' not found in root project 'spotless'.

* Try:
Run gradlew tasks to get a list of available tasks. 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 589ms

Perhaps the guide is out of date, but I’d like to know how to get started. Generally, I code in IntelliJ-IDEA, but I don’t mind having to switch to Eclipse for this. I’m also not used to using gradle (only maven), so perhaps I just do something wrong 😄

Context

  • macOS 12.0.1
  • Gradle 6.6
  • db06b285822ee036289a3db1def5216c76891846

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nedtwiggcommented, Nov 30, 2021

Oh, and re: new markdown formatter:

  • if your plan is simple, e.g. compatibility shims for FooFormatter, then I would just open a PR
  • if your plan is complicated, e.g. write a new markdown formatter that lives inside the Spotless repository, then I would discuss the plan in an issue first
1reaction
nedtwiggcommented, Nov 30, 2021

Definitely remove references to ide. We still fully support Eclipse developers (@fvgh is one of our primary maintainers and he’s Eclipse), so no need to nudge users one way or another. But if there’s anything missing from the guide which would have helped you, please add it. No need to be “fair”, Eclipse users can add eclipse-specific instructions themselves if they’d like to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying Gradle build - "Task 'build' not found in root project"
The first one will use the gradlew command found in the .. directory ( mdeinum... ), and look for the build file to...
Read more >
Composite gradle build: spotless works in one project and not ...
So one workaround would be for this task name to somehow be composite-build aware and use its own unique name, so that each...
Read more >
diffplug/spotless - Gitter
I'm surprised that build. dependsOn(spotlessApply) fails. If you run ./gradlew build --stacktrace , what sort of error/stack trace does it print out? Not...
Read more >
'Project not found in root project' when running Gradle test ...
Run/Debug configuration has 'Gradle project' property which points 'child'. Changing it to 'root' allows to run tests in package without problem. alt text....
Read more >
Task 'install' not found in root project - Gradle Forums
hello, i can run gradle build command successfully but when i run 'gradle build install' or 'gradle install' i get error - Task...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found