RedProtect Anti-Grief

RedProtect Anti-Grief

73.3k Downloads

[Maven Repository Issues] Building for Spigot is trying to Include Sponge Resources

rbluer opened this issue ยท 2 comments

commented

When trying to include RedProtect in a build, using the maven repositories, it is throwing errors during the build since items within the RedProtect-Core are trying to access resources that are Sponge related.

I'm using Gradle to perform the builds. These are the settings that I'm using.

repositories {
    maven {
    	url = 'https://raw.githubusercontent.com/FabioZumbi12/RedProtect/mvn-repo/'
    }
}

dependencies {
    implementation 'br.net.fabiozumbi12.RedProtect:RedProtect-Core:7.7.3'
    implementation 'br.net.fabiozumbi12.RedProtect:RedProtect-Spigot-1.13:7.7.3'
}

Am I missing something, or using the wrong set of libraries? I wouldn't be surprised if its something trivial, but the README.md file is not that clear on what it should be.

Here is the error log from the build:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.spongepowered:configurate-yaml:3.6.1.
  Required by:
      project : > br.net.fabiozumbi12.RedProtect:RedProtect-Core:7.7.3
> Could not find org.spongepowered:configurate-hocon:3.6.1.
  Searched in the following locations:
  Required by:
      project : > br.net.fabiozumbi12.RedProtect:RedProtect-Core:7.7.3
> Could not find org.spongepowered:configurate-core:3.6.1.
  Required by:
      project : > br.net.fabiozumbi12.RedProtect:RedProtect-Core:7.7.3
> Could not find net.ess3:EssentialsX:2.17.2.
  Required by:
      project : > br.net.fabiozumbi12.RedProtect:RedProtect-Spigot:7.7.3
> Could not find de.keyle:mypet:3.5.
  Required by:
      project : > br.net.fabiozumbi12.RedProtect:RedProtect-Spigot:7.7.3

Since this is a Spigot build, I'm at a loss why it's trying to include sponge resources from within the RedProtect-Core.

There are also a couple of resources within RedProtect-Spigot that are not being resolved either.

Thanks for any help you can provide to help me figure out how to get this to build.

  • Blue
commented

Moved all to oficial maven repo. Check readme on homepage.

commented

The configurate its needed by Core because config files