7

Currently using 2.2-SNAPSHOT as my dependency but I would like to specify a specific SNAPSHOT version (2.2-20111031.082334-13)

http://repository.excilys.com/content/repositories/snapshots/com/googlecode/androidannotations/androidannotations/2.2-SNAPSHOT/maven-metadata.xml

Is it even possible?

Flow
  • 23,572
  • 15
  • 99
  • 156
lemon
  • 9,155
  • 7
  • 39
  • 47
  • 1
    Possible duplicate of [Gradle: How to use specific version of snapshot?](https://stackoverflow.com/questions/34086417/gradle-how-to-use-specific-version-of-snapshot) – tekumara Apr 21 '19 at 04:35

1 Answers1

2

Just specify the unique snapshot version as you would with any other version. For example:

dependencies {
    compile "androidannotations:androidannotations:2.2-20111031.082334-13"
}
Peter Niederwieser
  • 121,412
  • 21
  • 324
  • 259
  • it doesn't work. http://stackoverflow.com/questions/13565082/how-can-i-force-gradle-to-redownload-dependencies find $HOME/.gradle/caches/ -name "\*LIBRARY_NAME\*" -exec rm -r {} \; – fangzhzh Jan 08 '16 at 03:40