NyaaSi-API
NyaaSi-API copied to clipboard
Could not find com.github.aki-ks:kaysub-commons:0.1-SNAPSHOT.
I would very much like to use this library but I keep running into the following error in Gradle when trying to use this library from Java:
Could not find com.github.aki-ks:kaysub-commons:0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/github/aki-ks/kaysub-commons/0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/github/aki-ks/kaysub-commons/0.1-SNAPSHOT/kaysub-commons-0.1-SNAPSHOT.pom
- https://jitpack.io/com/github/aki-ks/kaysub-commons/0.1-SNAPSHOT/maven-metadata.xml
- https://jitpack.io/com/github/aki-ks/kaysub-commons/0.1-SNAPSHOT/kaysub-commons-0.1-SNAPSHOT.pom
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
It appears it's stemming from here: https://github.com/aki-ks/NyaaSi-API/blob/master/build.sbt#L14-L16
I have tried excluding the group here and including the dependency manually:
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.aki-ks:kaysub-commons:master'
implementation('com.github.aki-ks:NyaaSi-API:master') {
exclude group: 'com.github.aki-ks', module: 'kaysub-commons'
}
}
But that does not work either.
The .pom
file for this library shows 1.0-SNAPSHOT
for kaysub-commons:
https://jitpack.io/com/github/aki-ks/NyaaSi-API/master/NyaaSi-API-master.pom
Is it possible to create a tag on kaysub-commons and include that version in the kaysub-commons dependency in this repo? Or to specify master
as the version for kaysub-commons
in this repo?
Thanks in advance for the help.