Gradle dependency version syntax

2019-05-20 08:37发布

问题:

I'm new to gradle. I have such a dependecy im my gradle script:

compile group: 'com.ning', name: 'async-http-client', version: '[1.6.1,1.9['

Could someone explain me, what does this version: '[1.6.1,1.9[' mean in this case?

回答1:

It's Ivy-style versions range, take a look here. In this case, this means, version can be greater or equal to 1.6.1 and lower than 1.9.