# ProjectBuilder reports missing org.gradle.cli.CommandLineConverter class

**URL:** <https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604>\
**Category:** Old Forum Archive\
**Created:** [August 13, 2013, 8:42am UTC](https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604 "2013-08-13T08:42:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Wielgolaski](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@Piotr\_Wielgolaski](https://discuss.gradle.org/u/Piotr_Wielgolaski)\
**Post date:** [August 13, 2013, 8:42am UTC](https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604/1 "2013-08-13T08:42:00Z")

</div>

I want to write some test for custom gradle plugin, when I tried to use ProjectBuilder it reports missing org.gradle.cli.CommandLineConverter

The plugin and test are placed in maven structure as whole project is using maven pom.xml, so I fetch gradle dependency from [http://repo.gradle.org/gradle/libs-releases-local](http://repo.gradle.org/gradle/libs-releases-local)

Where is org.gradle.cli package stored?

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [August 13, 2013, 9:04am UTC](https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604/2 "2013-08-13T09:04:00Z")

</div>

The only supported way to build Gradle plugins is with Gradle. In this case, a ‘gradleApi()’ dependency will take care of pulling in the required dependencies. Otherwise you are on your own, and may have to track an ever changing set of dependencies.

To answer your question, it seems that ‘org.gradle.cli’ is currently published as part of ‘gradle-tooling-api’.

---

<div class="post-metadata">

**Author:** ![Piotr\_Wielgolaski](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@Piotr\_Wielgolaski](https://discuss.gradle.org/u/Piotr_Wielgolaski)\
**Post date:** [August 13, 2013, 9:08am UTC](https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604/3 "2013-08-13T09:08:00Z")

</div>

thank you for answering, but it seems for me that class that I’m looking for is in gradle-cli,jar but I can not find it in [http://repo.gradle.org/gradle/libs-releases-local](http://repo.gradle.org/gradle/libs-releases-local) ☹ Is there a way to get this dependency from some place?

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [August 13, 2013, 9:15am UTC](https://discuss.gradle.org/t/projectbuilder-reports-missing-org-gradle-cli-commandlineconverter-class/5604/4 "2013-08-13T09:15:00Z")

</div>

‘gradle-cli.jar’ isn’t published on its own; you’d have to download and unpack a Gradle distribution to get it.

I’ve verified that ‘org.gradle.cli’ classes are part of ‘gradle-tooling-api.jar’. However, it’s not unlikely that other plugin dependencies are only available via a Gradle distribution. Hence getting hold of the distribution would be the way to go if you don’t want to use Gradle to build the plugin. It’s a dead end though, as future Gradle plugins will likely need to be built with a Gradle plugin SDK.
