Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.1 unavailable via Gradle #40

Open
danielmittelman opened this issue Jul 29, 2016 · 3 comments
Open

Version 1.1 unavailable via Gradle #40

danielmittelman opened this issue Jul 29, 2016 · 3 comments

Comments

@danielmittelman
Copy link

The examples presented in the README on this repository explain how to use version 1.1, however the newest version available on Maven Central is 1.0. This leads to the fact that there are method calls present in the README that do not exist in the distributed version of the library

@arvydaszenitech
Copy link

I managed to importing using jitpack

  1. add this to your gradle repositories
    maven { url "https://jitpack.io" }

  2. add this to your dependencies
    compile 'com.github.hudomju:android-swipe-to-dismiss-undo:master-SNAPSHOT'

  3. profit

@danielmittelman
Copy link
Author

I compiled the library and added it as static dependency after manually testing the code.

Your suggestion to blindly clone the master branch which can be unstable is not a solution.

@noln
Copy link

noln commented Jun 11, 2017

You don't need to blindly copy the head. Just specify a hash instead, and you get the best of both worlds: easy config and upgrade and a repeatable build.

e.g. The below dependency is for the commit labelled Update versions, which has all of the changes in the demo, and release notes versioned 1.1

dependencies {
    compile 'com.github.hudomju:android-swipe-to-dismiss-undo:d0a25a20bf'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants