Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken gradle import with new paper module #65

Open
solonovamax opened this issue Oct 7, 2024 · 0 comments
Open

Broken gradle import with new paper module #65

solonovamax opened this issue Oct 7, 2024 · 0 comments

Comments

@solonovamax
Copy link

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:

+        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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant