userdev is not fully compatible with central repository declaration
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 317
- Forks
- 76
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
When applying userdev to a project with a dependencyResolutionManagement { repositories { ... } } block, these will be discarded and only maven central and the paper repo will be added. MRE: https://github.com/radstevee/paperweight-288-mre
pw-mre:main: Could not find net.radstevee.packed:packed-core:1.0.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/net/radstevee/packed/packed-core/1.0.3/packed-core-1.0.3.pom
- https://repo.papermc.io/repository/maven-public/net/radstevee/packed/packed-core/1.0.3/packed-core-1.0.3.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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repository-resolution failure with the linked paperweight-288-mre project and inspect the userdev handling of Gradle's dependencyResolutionManagement repositories. Trace where the declared repositories are replaced, then verify that the project's repositories remain available alongside the required Paper repository and that the MRE resolves packed-core:1.0.3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100