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

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

Open
elteammate opened this issue Jul 10, 2021 · 2 comments
Open

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

elteammate opened this issue Jul 10, 2021 · 2 comments

Comments

@elteammate
Copy link

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
Copy link
Collaborator

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
Copy link
Author

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

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

2 participants