I have published a java library to https://bintray.com/tylerlong/maven/ringcentral-pubnub
I tried to use it via gradle:
dependencies {
...
compile 'com.ringcentral:ringcentral-pubnub:1.0.0-beta10'
}
When I run ./gradlew build
, I got the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.ringcentral:ringcentral-pubnub:1.0.0-beta10.
Searched in the following locations:
- https://jcenter.bintray.com/com/ringcentral/ringcentral-pubnub/1.0.0-beta10/ringcentral-pubnub-1.0.0-beta10.pom
- https://jcenter.bintray.com/com/ringcentral/ringcentral-pubnub/1.0.0-beta10/ringcentral-pubnub-1.0.0-beta10.jar
Required by:
project :
Here is the build.gradle
file: https://github.com/ringcentral/ringcentral-pubnub-java/blob/master/build.gradle
I really have no idea why it doesn't work. I have another library here and it works like a charm: https://bintray.com/tylerlong/maven/ringcentral. I published these two libraries in similar way. Why one works while the other doesn't?
Here is the sample project to reproduce the issue: https://github.com/tylerlong/ringcentral-pubnub-demo