# Gradle documentation

**URL:** https://discuss.gradle.org/t/gradle-documentation/43122
**Category:** Help/Discuss
**Created:** [June 13, 2022, 11:52am UTC](https://discuss.gradle.org/t/gradle-documentation/43122 "2022-06-13T11:52:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Quasar999](https://avatars.discourse-cdn.com/v4/letter/q/c67d28/32.png) [@Quasar999](https://discuss.gradle.org/u/Quasar999)
#### Post date: [June 13, 2022, 11:52am UTC](https://discuss.gradle.org/t/gradle-documentation/43122/1 "2022-06-13T11:52:58Z")

</div>

Hello  
i’m new to Gradle and i can’t find the full documentation of the software. I try at [doc.gradle.org](http://doc.gradle.org) and i’ve found a lot of example but not a detailed documentation.

---

<div class="post-metadata">

### Author: ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)
#### Post date: [June 13, 2022, 12:49pm UTC](https://discuss.gradle.org/t/gradle-documentation/43122/2 "2022-06-13T12:49:23Z")

</div>

Assuming you mean [docs.gradle.org](http://docs.gradle.org), what do you miss?  
Besides the example projects, there is the full documentation, including a search and also a single-page variant and a PDF variant. (while the single-page and thus also PDF variant miss some chapters currently: [Improvements for the single-page documentation. · Issue #16760 · gradle/gradle · GitHub](https://github.com/gradle/gradle/issues/16760))

---

<div class="post-metadata">

### Author: ![Quasar999](https://avatars.discourse-cdn.com/v4/letter/q/c67d28/32.png) [@Quasar999](https://discuss.gradle.org/u/Quasar999)
#### Post date: [June 13, 2022, 4:29pm UTC](https://discuss.gradle.org/t/gradle-documentation/43122/3 "2022-06-13T16:29:21Z")

</div>

Could you give me a link to the full documentation? For example i’ve search the documentation for implementing the dependencies for a library in a jar file but i haven’t found it.

---

<div class="post-metadata">

### Author: ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)
#### Post date: [June 13, 2022, 4:43pm UTC](https://discuss.gradle.org/t/gradle-documentation/43122/4 "2022-06-13T16:43:54Z")

</div>

> Could you give me a link to the full documentation?

What do you mean?  
As I said, [docs.gradle.org](http://docs.gradle.org) IS the full documentation and it is quiet extensive.

> For example i’ve search the documentation for implementing the dependencies for a library in a jar file but i haven’t found it.

I don’t know what you mean with “implementing the dependencies for a library in a jar file” which probably is also the reason you didn’t find what you are after. If you mean how to build a fat jar, then my recommendation is to not do it whenever you can avoid it at almost any cost. See [http://fatjar.net/](http://fatjar.net/) for some quotes about why. Gradle has no built-in support for fat reasons and I hope never gets. For very simple cases the documentation shows at [Working With Files](https://docs.gradle.org/current/userguide/working_with_files.html#sec:creating_uber_jar_example) how to do it, but this does not consider many edge cases like service files that need merging, jar signatures, and many other things, and with some JARs it is even impossible to create fat jar. The [shadow plugin](https://plugins.gradle.org/plugin/com.github.johnrengelman.shadow) covers some of these edge cases in a convenient way.

But again, I strongly advice against ever building a fat jar if you can avoid it and instead use the built-in [`application` plugin](https://docs.gradle.org/current/userguide/application_plugin.html) to build a proper application distribution.

---

<div class="post-metadata">

### Author: ![Quasar999](https://avatars.discourse-cdn.com/v4/letter/q/c67d28/32.png) [@Quasar999](https://discuss.gradle.org/u/Quasar999)
#### Post date: [June 13, 2022, 4:55pm UTC](https://discuss.gradle.org/t/gradle-documentation/43122/5 "2022-06-13T16:55:47Z")

</div>

I have a project with some java source files and some libraries in java format; I need to tell gradle where r the jar files in order to compile correctly the project.

---

<div class="post-metadata">

### Author: ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)
#### Post date: [June 13, 2022, 5:02pm UTC](https://discuss.gradle.org/t/gradle-documentation/43122/6 "2022-06-13T17:02:41Z")

</div>

Do you mean you have checked in `jar` files in your project that you need to compile against?  
If so, I’d also avoid that if possible. 😃  
But then the docs you are after are about declaring dependencies: [Declaring dependencies](https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:file_dependencies)
