dorongold / gradle-task-tree

Gradle plugin that adds a 'taskTree' task that prints task dependency tree
Apache License 2.0
860 stars 56 forks source link

Error: Cannot infer Groovy class path because no Groovy Jar was found on class path #57

Open bahuma20 opened 4 months ago

bahuma20 commented 4 months ago

Hi, i am using the Kotlin DSL for my Gradle project and have a problem.

I have installed the task-tree plugin, but when i execute gradlew build taskTree i get this error:

Execution failed for task ':elw-web:taskTree'.
> Cannot infer Groovy class path because no Groovy Jar was found on class path

Is this a known problem?

I am also using the groovy plugin as this is required for Spring Cloud Contract...

Here is an excerpt from my build.gradle.kts file:

plugins {
  id("groovy")
  id("com.dorongold.task-tree") version "4.0.0"
  `java-library`
}
akefirad commented 1 month ago

I faced the same issue and found this plugin. (I'm not affiliated with the plugin in anyway.)