I’m using code similar to below snippet to load dependencies in specific order
compile fileTree(dir: ‘libs’, include: [‘c.jar’,‘b.jar’,‘a.jar’])
Intended order: c -> b -> a
Observed order: a-> b -> c
fileTree seems to sort the jar names automatically which affects order of compilation of jars.
Is there a way to retain intended order of compilation ?