Could not create task ':generateDevelopmentBundle'.
iceBear67 opened this issue · comments
猫 commented
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
- OS: Arch Linux x86_64
- Gradle JVM: OpenJDK 17
- IDE: Intellij IDEA 2021.2.3
Steps
- Import paperweight-examples from GitHub
- IDEA tries to run
prepareKotlinBuildScriptModel
(or the refresh button)' - git checkout
submodules-mojangapi
- 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
- Restart IDEA
- Restart computer
- 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]
猫 commented
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?
猫 commented
solved:: run applyPatches
first