Ok, with a multiplatform project I’m getting the f...
# javascript
d
Ok, with a multiplatform project I’m getting the following error:
Copy code
Execution failed for task ':admin-app:kaptGenerateStubsKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':admin-app:kaptGenerateStubsKotlin'
   > Could not resolve all files for configuration ':admin-app:kotlinCompilerPluginClasspathMain'.
      > Could not find org.jetbrains.kotlin:kotlin-allopen:1.6.21.
        Required by:
            project :admin-app
      > Could not find org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.21.
        Required by:
            project :admin-app
      > Could not find org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.6.21.
        Required by:
            project :admin-app
weirdly its some sort of conflict with com.github.node-gradle.node plugin
oh, after a bit of fiddling I can produce another error
The project declares repositories, effectively ignoring the repositories you have declared in the settings
which sounds like it could be the cause of the original error. Something about the node plugin is stopping the repos in settings.gradle being used?
I can work around it by adding a
repositories
block in the build.gradle.kts of this module however that is not very satisfactory as it is duplicating the definitions in settings.gradle