jitpack / jitpack.io

Documentation and issues of https://jitpack.io
MIT License
2.52k stars 183 forks source link

Could not find KNOXDEV/feather #1472

Open LeafHacker opened 7 years ago

LeafHacker commented 7 years ago

The website correctly detects the KNOXDEV/feather repo, and generates this gradle config:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    compile 'com.github.KNOXDEV:feather:36ca78c2c5'
}

I am already using jitpack for another git repo, which builds successfully, however when I add the KNOXDEV/feather repo, I get the following build error:

:sourceMainJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find com.github.KNOXDEV:feather:36ca78c2c5.
  Searched in the following locations:
      http://files.minecraftforge.net/maven/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      http://files.minecraftforge.net/maven/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      https://repo1.maven.org/maven2/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      https://repo1.maven.org/maven2/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      https://libraries.minecraft.net/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      https://libraries.minecraft.net/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      https://jitpack.io/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      https://jitpack.io/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      http://repo.spongepowered.org/maven/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      http://repo.spongepowered.org/maven/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      file:/home/leaf/.gradle/caches/minecraft/deobfedDeps/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.pom
      file:/home/leaf/.gradle/caches/minecraft/deobfedDeps/com/github/KNOXDEV/feather/36ca78c2c5/feather-36ca78c2c5.jar
      file:/home/leaf/.gradle/caches/minecraft/net/minecraft/minecraft/1.11.2/snapshot/20170521/feather-36ca78c2c5.jar
      file:/home/leaf/.gradle/caches/minecraft/net/minecraft/minecraft/1.11.2/snapshot/20170521/feather.jar
  Required by:
      project :

build.gradle, gradle.log

LeafHacker commented 7 years ago

Seems to be caused by the repo not having a build config

jitpack-io commented 7 years ago

Indeed https://jitpack.io/com/github/KNOXDEV/feather/36ca78c2c5/build.log