# Is it possible to configure where the jar file is generated by java plug-in jar task?

**URL:** <https://discuss.gradle.org/t/is-it-possible-to-configure-where-the-jar-file-is-generated-by-java-plug-in-jar-task/3854>\
**Category:** Old Forum Archive\
**Created:** [February 11, 2014, 10:19pm UTC](https://discuss.gradle.org/t/is-it-possible-to-configure-where-the-jar-file-is-generated-by-java-plug-in-jar-task/3854 "2014-02-11T22:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xiaoxi\_Luo](https://avatars.discourse-cdn.com/v4/letter/x/d2c977/32.png) [@Xiaoxi\_Luo](https://discuss.gradle.org/u/Xiaoxi_Luo)\
**Post date:** [February 11, 2014, 10:19pm UTC](https://discuss.gradle.org/t/is-it-possible-to-configure-where-the-jar-file-is-generated-by-java-plug-in-jar-task/3854/1 "2014-02-11T22:19:00Z")

</div>

I am new to gradle. So apologize first if this is a naive question. I understand that with java plugin’s jar task, the JAR file generated is put in the build/libs directory. Is this path configurable?

---

<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:** [February 11, 2014, 11:30pm UTC](https://discuss.gradle.org/t/is-it-possible-to-configure-where-the-jar-file-is-generated-by-java-plug-in-jar-task/3854/2 "2014-02-11T23:30:00Z")

</div>

See ‘Jar’ in the [Gradle Build Language Reference](http://gradle.org/docs/current/dsl/index.html).
