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

Transitive Dependency on a SNAPSHOT #31

Open
StuporHero opened this issue Aug 18, 2016 · 1 comment
Open

Transitive Dependency on a SNAPSHOT #31

StuporHero opened this issue Aug 18, 2016 · 1 comment

Comments

@StuporHero
Copy link

StuporHero commented Aug 18, 2016

The binary for 2.2.2 that was released to Bintray has a dependency on sqljet-1.1.8-SNAPSHOT which is not available through either Bintray or Maven Central. It's a pain to have to exclude the dependency and manually specify the dependency to sqljet-1.1.8. If anyone comes across this being unsure what to do about it, here is the workaround:

buildscript {
    dependencies {
        classpath 'org.tmatesoft.sqljet:sqljet:1.1.8'
        classpath('au.com.ish.gradle:release:2.2.2') {
            exclude group: 'org.tmatesoft.sqljet', module: 'sqljet'
        }
    }
}
@StuporHero
Copy link
Author

I just had a look at the source, and it seems that the transitive dependency comes from the svnkit dependency rather than being from this project itself. I also see that the latest commit has updated svnkit to 1.8.12. If that dependency also has a transitive dependency on a snapshot version, applying the aforementioned to this project should prevent it from affecting anyone who uses the resulting release.

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

1 participant