PaperMC/paperweight

Could not create task ':generateDevelopmentBundle'.

iceBear67 opened this issue · 2 comments

original issue
In short, I can't setup projects with paperweight, both 1.3.4-SNAPSHOT and 1.3.3 with shadow 7.1.1

Step to reproduce

Environment

  1. OS: Arch Linux x86_64
  2. Gradle JVM: OpenJDK 17
  3. IDE: Intellij IDEA 2021.2.3

Steps

  1. Import paperweight-examples from GitHub
  2. IDEA tries to run prepareKotlinBuildScriptModel (or the refresh button)'
  3. git checkout submodules-mojangapi
  4. Error!

Further Info

this error occurs in other branch too.
I didn't change any file or run other tasks manually

What I ve tried to do

  1. Restart IDEA
  2. Restart computer
  3. Update to a newer gradle (7.3.3)

Error

* What went wrong:
Could not create task ':generateDevelopmentBundle'.
Extension of type 'RelocationExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, BasePluginExtension, DefaultArtifactPublicationSet, SourceSetContainer, ReportingExtension, JavaPluginExtension, JavaToolchainService, TestingExtension, PublishingExtension, ShadowExtension, IdeaModel]

Full:
https://angry.im/paste/Bpc3CuV

p.s
I found that I solved this error by downgrading the version of paperweight to 1.2.0, which is the latest successful version.

Maybe there're something wrong in 1.3.0?

solved:: run applyPatches first