Can't add it as a dep. in my project
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
> Could not find com.magmaguy:BetterStructures:2.4.0.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://oss.sonatype.org/content/groups/public/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://repo.aikar.co/content/groups/aikar/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://repo.extendedclip.com/releases/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://jitpack.io/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://maven.enginehub.org/repo/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://repo.papermc.io/repository/maven-public/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://repo.repsy.io/mvn/athlaeos/valhallammo/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
- https://repo.magmaguy.com/releases/com/magmaguy/BetterStructures/2.4.0/BetterStructures-2.4.0.pom
Required by:
root project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Code here:
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/groups/public/' }
maven { url = 'https://repo.aikar.co/content/groups/aikar/' }
maven { url = 'https://repo.extendedclip.com/releases/' }
maven { url = 'https://jitpack.io' }
maven { url = 'https://maven.enginehub.org/repo/' }
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
maven { url = 'https://repo.repsy.io/mvn/athlaeos/valhallammo' }
maven {
name = "magmaguyRepoReleases"
url = 'https://repo.magmaguy.com/releases'
}
}
dependencies {
// compileOnly 'dev.folia:folia-api:1.21.1-R0.1-SNAPSHOT'
compileOnly 'io.papermc.paper:paper-api:26.1.2.build.+'
compileOnly 'org.jetbrains:annotations:21.0.1'
implementation 'co.aikar:acf-paper:0.5.1-SNAPSHOT'
implementation 'com.github.sachingorkar102:PriLib:1.0'
implementation 'com.jeff-media:MorePersistentDataTypes:2.4.0'
implementation 'com.magmaguy:BetterStructures:2.4.0'
// 5.31.2026 bruh that Alex guy just used some AI to vibe code this ;-; no wonder why none of it works
// implementation files('lib/CustomStructures-1.9.0.1.jar')
// implementation files('lib/BetterStructures-1.6.10.jar')
implementation files('lib/OhTheDungeon.jar')
compileOnly 'me.athlaeos:valhallammo-dist:dev-0.4'
compileOnly 'me.clip:placeholderapi:2.12.2'
compileOnly 'com.syntaxphoenix.syntaxapi:nbt:2.0.13'
compileOnly 'com.syntaxphoenix.syntaxapi:random:2.0.12'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.7.0'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.17'
}
Can't add it as a dep. in my project
Code here: