# Specify Minor version when building from source

**URL:** https://discuss.elastic.co/t/specify-minor-version-when-building-from-source/152291
**Category:** Elasticsearch
**Created:** [October 12, 2018, 7:04pm UTC](https://discuss.elastic.co/t/specify-minor-version-when-building-from-source/152291 "2018-10-12T19:04:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Steph\_van\_Schalkwyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steph_van_schalkwyk/32/98653_2.png) [@Steph\_van\_Schalkwyk](https://discuss.elastic.co/u/Steph_van_Schalkwyk)
#### Post date: [October 12, 2018, 7:04pm UTC](https://discuss.elastic.co/t/specify-minor-version-when-building-from-source/152291/1 "2018-10-12T19:04:06Z")

</div>

Is there a way to specify a specific, e.g. 6.4.2 version when building from source?  
Also, remove the "-SNAPSHOT' "  
Tried all variations of  
./gradlew assemble -Dorg.gradle.java.home=/usr/lib/jvm/jdk-11 -Pversion=6.4.2

---

<div class="post-metadata">

### Author: ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)
#### Post date: [October 13, 2018, 7:29pm UTC](https://discuss.elastic.co/t/specify-minor-version-when-building-from-source/152291/2 "2018-10-13T19:29:57Z")

</div>

No, that is not possible.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 10, 2018, 7:30pm UTC](https://discuss.elastic.co/t/specify-minor-version-when-building-from-source/152291/3 "2018-11-10T19:30:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
