Skip to content

Cannot compile due to Gradle not resolving Brigadier dependencies. #776

@andrewkm

Description

@andrewkm

Haven't been able to compile for a while here;

Started by user [andrewkm](https://ci.ecocitycraft.com/user/andrewkm)
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/BungeeTabListPlus
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/CodeCrafter47/BungeeTabListPlus.git
 > git init /var/lib/jenkins/workspace/BungeeTabListPlus # timeout=10
Fetching upstream changes from https://github.com/CodeCrafter47/BungeeTabListPlus.git
 > git --version # timeout=10
 > git --version # 'git version 2.50.1'
 > git fetch --tags --force --progress -- https://github.com/CodeCrafter47/BungeeTabListPlus.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/CodeCrafter47/BungeeTabListPlus.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 2f906eabbbd4da5a67e78d12bfec82b8212aa645 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2f906eabbbd4da5a67e78d12bfec82b8212aa645 # timeout=10
Commit message: "snapshot"
 > git rev-list --no-walk 2f906eabbbd4da5a67e78d12bfec82b8212aa645 # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.TabOverlayCommon.url # timeout=10
 > git config -f .gitmodules --get submodule.TabOverlayCommon.path # timeout=10
 > git config --get submodule.minecraft-data-api.url # timeout=10
 > git config -f .gitmodules --get submodule.minecraft-data-api.path # timeout=10
 > git submodule update --init --recursive TabOverlayCommon # timeout=10
 > git submodule update --init --recursive minecraft-data-api # timeout=10
[Gradle] - Launching build.
[BungeeTabListPlus] $ /var/lib/jenkins/workspace/BungeeTabListPlus/gradlew shadowJar
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':minecraft-data-api:bungee:api:compileJava'.
> Could not resolve all task dependencies for configuration ':minecraft-data-api:bungee:api:compileClasspath'.
   > Could not find net.md-5:brigadier:1.0.16-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/net/md-5/brigadier/1.0.16-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/net/md-5/brigadier/1.0.16-SNAPSHOT/brigadier-1.0.16-SNAPSHOT.pom
       - https://nexus.codecrafter47.dyndns.eu/content/repositories/public/net/md-5/brigadier/1.0.16-SNAPSHOT/maven-metadata.xml
       - https://nexus.codecrafter47.dyndns.eu/content/repositories/public/net/md-5/brigadier/1.0.16-SNAPSHOT/brigadier-1.0.16-SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/net/md-5/brigadier/1.0.16-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/net/md-5/brigadier/1.0.16-SNAPSHOT/brigadier-1.0.16-SNAPSHOT.pom
     Required by:
         project :minecraft-data-api:bungee:api > net.md-5:bungeecord-api:1.15-SNAPSHOT > net.md-5:bungeecord-protocol:1.15-SNAPSHOT

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 31s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Discard old builds...
Finished: FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions