Broken gradle import with new paper module
The paper module is currently breaking gradle imports, if you don't have silk 1.11.0 published to your local maven repo.
Here is a fix that uses the local projects instead:
```diff
+ api(project(":silk-$module", "namedElements"))
@Suppress("UnstableApiUsage")
- extractTransitive(includeInJar(implementation("net.silkmc:silk-${module}:${project.version}:dev") {
+ extractTransitive(includeInJar(project(":silk-$module", "namedElements")) {
artifacts.removeIf { it.classifier != "dev" }
assert(artifacts.isNotEmpty())
exclude("net.silkmc") // exclude applies to transitive dependencies
- })!!)
+ })!!
```
however, if you want to use an older version of silk, as specified in the comment, just bump it down to `1.10.4` instead.
0 条评论