Mezy / BiomeMapping

GNU General Public License v3.0
3 stars 3 forks source link

Could not find com.github.Mezy:BiomeMapping:master-SNAPSHOT #1

Open elteammate opened 3 years ago

elteammate commented 3 years ago

It seems like the last build has failed, and now I can't add any version of the artifact that supports 1.17.

Here's the part of my build.gradle.kts

repositories {
    mavenCentral()
    maven { url = uri("https://papermc.io/repo/repository/maven-public/") }
    maven { url = uri("https://jitpack.io") }
}

plugins {
    kotlin("jvm") version "1.5.20"
    id("com.github.johnrengelman.shadow") version "5.2.0"
}

dependencies {
    compileOnly("com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT")
    implementation("org.http4k:http4k-core:4.9.9.0")
    implementation("org.http4k:http4k-client-websocket:4.9.9.0")
    implementation("com.github.Mezy:BiomeMapping:master-SNAPSHOT")
}

And here is the log:

   > Could not find com.github.Mezy:BiomeMapping:master-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/github/Mezy/BiomeMapping/master-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/github/Mezy/BiomeMapping/master-SNAPSHOT/BiomeMapping-master-SNAPSHOT.pom
       - https://papermc.io/repo/repository/maven-public/com/github/Mezy/BiomeMapping/master-SNAPSHOT/maven-metadata.xml
       - https://papermc.io/repo/repository/maven-public/com/github/Mezy/BiomeMapping/master-SNAPSHOT/BiomeMapping-master-SNAPSHOT.pom
       - https://jitpack.io/com/github/Mezy/BiomeMapping/master-SNAPSHOT/maven-metadata.xml
       - https://jitpack.io/com/github/Mezy/BiomeMapping/master-SNAPSHOT/BiomeMapping-master-SNAPSHOT.pom
...
Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
pieterdebot commented 3 years ago

There's an issue with Jitpack and java 16, I don't think there is any way to fix this right now. You can clone the repo, compile it manually and use a jar as lib instead.

elteammate commented 3 years ago

Alright, thanks for the help. I guess I will leave the issue open for now to avoid confusion among others.