# Create multiple start scripts with Application plugin

**URL:** <https://discuss.gradle.org/t/create-multiple-start-scripts-with-application-plugin/3977>\
**Category:** Old Forum Archive\
**Created:** [June 11, 2014, 4:26pm UTC](https://discuss.gradle.org/t/create-multiple-start-scripts-with-application-plugin/3977 "2014-06-11T16:26:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roma77](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@roma77](https://discuss.gradle.org/u/roma77)\
**Post date:** [June 11, 2014, 4:26pm UTC](https://discuss.gradle.org/t/create-multiple-start-scripts-with-application-plugin/3977/1 "2014-06-11T16:26:00Z")

</div>

I want to have several scripts to run different apps, basically the only difference in them is the main class. Can I create those shell scripts / batch files automatically with Application plugin?

Application plugin generates scripts automatically for one main class, but I want to do it for several classes, can I do it somehow?

---

<div class="post-metadata">

**Author:** ![PRITESH\_MHATRE](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@PRITESH\_MHATRE](https://discuss.gradle.org/u/PRITESH_MHATRE)\
**Post date:** [July 15, 2014, 5:28am UTC](https://discuss.gradle.org/t/create-multiple-start-scripts-with-application-plugin/3977/2 "2014-07-15T05:28:00Z")

</div>

It is a very common requirement in many projects. It would be good to have out of the box support for this feature.
