Gunpowder-MC / Gunpowder-MC/GunpowderPlugin
Incorrect link to your maven
- Dominant language
- Kotlin
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
So I wanted to compile Gunpowder-Utilities because the version on curseforge doesn't seem to work for 1.18.2, but I got this error:
```
> Configure project :
[GunpowderPlugin] 'gunpowder_branch' not specified, falling back to master.
[GunpowderPlugin] Loading plugins
Fabric Loom: 0.10.66
[GunpowderPlugin] Configuring project
[GunpowderPlugin] Project version: 1.0.0+gunpowder.1.2.0.2.mc.1.18.2
[GunpowderPlugin] Setting up dependencies
[GunpowderPlugin] Minecraft: com.mojang:minecraft:1.18.2
[GunpowderPlugin] Fabric Loader: net.fabricmc:fabric-loader:0.14.3
[GunpowderPlugin] Fabric API: net.fabricmc.fabric-api:fabric-api:0.51.1+1.18.2
[GunpowderPlugin] Yarn: net.fabricmc:yarn:1.18.2+build.3:v2
[GunpowderPlugin] Gunpowder: 1.2.0.2
[GunpowderPlugin] Configuring tasks
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'gunpowder-template'.
> Could not resolve all dependencies for configuration ':modCompileOnlyApi'.
> Could not resolve io.github.gunpowder:gunpowder-api:1.2.0.2+1.18.2.
Required by:
project :
> Could not resolve io.github.gunpowder:gunpowder-api:1.2.0.2+1.18.2.
> Could not get resource 'https://jitpack.io/io/github/gunpowder/gunpowder-api/1.2.0.2+1.18.2/gunpowder-api-1.2.0.2+1.18.2.pom'.
> Could not GET 'https://jitpack.io/io/github/gunpowder/gunpowder-api/1.2.0.2+1.18.2/gunpowder-api-1.2.0.2+1.18.2.pom'. Received status code 400 from server: Bad Request
* 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.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
```
I was confused, so I tested with the template, same error. I tested with 0.3.7 instead of 0.3.6, same error.
It seems you have the incorrect link to your maven in the [Project.kt](https://github.com/Gunpowder-MC/GunpowderPlugin/blob/master/src/main/kotlin/io/github/gunpowder/Project.kt) file. You have https://maven.martmists.com/ when it should be https://maven.martmists.com/releases
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the linked src/main/kotlin/io/github/gunpowder/Project.kt file and inspect how the Maven repository URL is configured. Reproduce the reported Gradle dependency-resolution failure, then verify that the Gunpowder API dependency resolves successfully and the template build completes without the 400 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100