# Is it possible to specify library order in idea plugin?

**URL:** <https://discuss.gradle.org/t/is-it-possible-to-specify-library-order-in-idea-plugin/2780>\
**Category:** Old Forum Archive\
**Created:** [February 6, 2014, 10:18am UTC](https://discuss.gradle.org/t/is-it-possible-to-specify-library-order-in-idea-plugin/2780 "2014-02-06T10:18:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone\_Giacomelli](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/simone_giacomelli/32/610_2.png) [@Simone\_Giacomelli](https://discuss.gradle.org/u/Simone_Giacomelli)\
**Post date:** [February 6, 2014, 10:18am UTC](https://discuss.gradle.org/t/is-it-possible-to-specify-library-order-in-idea-plugin/2780/1 "2014-02-06T10:18:00Z")

</div>

I have a multi project build.

I use idea plugin.

The issue I hit is that the generated Idea project does not preserve library order.

I have many modules/jars. I need two of them to be in an exact order This is an excerpt of build.gradle

compile project(’:lib-sym-untrusted’)

compile project(’:lib-sym-trusted’)

Unluckily the generated Idea project have these dependencies with a wrong order: module lib-sym-trusted module lib-sym-untrusted

So I have to change the module order manually in Idea.

I’ve tried with gradle 1.10 and 1.8 both with the same unlucky result.

Is there a way to change the order of the two evil library?

thank you for your help. 🙂 Simone

[![](https://sea1.discourse-cdn.com/gradle/uploads/default/1050/dfe6605eba488441.jpg)](https://d2r1vs3d9006ap.cloudfront.net/s3_images/1018908/idea-generated-project.jpg?1391681652)
