Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Order of classpath entries from Gradle script

$
0
0

Hi

 

I have a project with a lot of dependencies and I'm currently trying to adapt our Gradle build script so our devs can use both Eclipse or IDEA.The app will load all jars from folder 'bespoke' and then from folder 'lib' in almost alphabetical order, meaning CAPITAL letters have precedence over lower case letters.

 

To achieve that I use this in the gradle dependencies block: compile fileTree(dir: "$lib", include: '*.jar')

 

When I print this to the console the file tree has the correct order of jars. Using that Gradle script in Eclipse I also get the expected order, alphabetical with upper case before lower case. IDEA (13.0.2) seems to ignore the upper/lower case part completely and I have to manually fix that in the project structure.

 

Is this a bug or a settting? Any idea how to fix that behavior?

 

Thanks

 

Martin


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>