Gradle: How To Use Specific Version Of Snapshot?
I'm using SNAPSHOT version of graphhopper library. Is there posibility to use older version of snapshot? I tried: compile(group: 'com.graphhopper', name: 'graphhopper', version:
Solution 1:
Check out this link: https://issues.gradle.org/browse/GRADLE-2784 Should have been fixed in April. Which Gradle version do you use?
Solution 2:
This is fixed in Gradle 2.4 by GRADLE-2784, see the gradle 2.4 release notes.
NB: you shouldn't include the word SNAPSHOT in the artifact version, eg:
dependencies {
compile"org.company:my-lib:1.0.0-20150102.010203-20"
}
Post a Comment for "Gradle: How To Use Specific Version Of Snapshot?"