I am trying to get "dev" branch instead of "master" branch from PhotoView project in Github: https://github.com/chrisbanes/PhotoView/tree/dev
But by default the dependencies get "master" branch.
dependencies {
compile 'com.github.chrisbanes.photoview:library:1.2.3'
}
How should I change this dependency to get "dev" branch instead of "master"?
Use this :
compile 'com.github.chrisbanes.photoview:library:dev-SNAPSHOT'
source https://github.com/jitpack/jitpack.io
It can be a general consideration.
compile 'com.github.chrisbanes.photoview:library:1.2.3'
It downloads the aar from Central Maven, not from github.
If you would like to work with the dev branch and gradle, you should ask the author for a snapshot release, or you have to build it locally.
BTW, about this lib, the version 1.2.3 is very recent. Why do you want to work with the dev branch?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With