Hi, I'm trying to load a project using multiple gr...
# javascript
a
Hi, I'm trying to load a project using multiple gradle modules, but each submodules always get the error
Task 'wrapper' not found in project ':packages:my-submodule'.
, I have
Copy code
tasks.wrapper {
	gradleVersion = "7.4.2"
}
In my root
build.gradle.kts
. I also configured my modules to uses wrapper from the
wrapper
task (image)
v
Why should you configure the wrapper task for the sub-projects, that makes no sense, as the whole build is run with one version. I think the sub-projects don't get an automatic wrapper task, just the root project, which also is the cause you are seeing that error. Besides that, I'd strongly recommend to not use it like that, but to commit the 4 wrapper files to VCS and let IJ use the default setting to look in the wrapper properties file.
a
I found a fix, I just deleted the gradle projects to the .idea configuration and now everything works perfectly, it was really weird because it wasn't showing all my submodules in the Gradle projects list (on my screen)