"A problem occurred configuring root project"

Hello, I am receiving an error in my code that says “a problem occurred configuring root project.” I’m not sure why this is happening, does anyone know how to fix it?

The error is in line 3.

Can we see the complete terminal/output tabs? All of the error would help.

Don’t put your project in OneDrive, it can cause very strange errors. Move it to a location on your hard drive.

1 Like

I think it’s just a syntax problem. Maybe try putting a comma after line 2? I think that will do.

That’s not valid groovy syntax; The plugins block is not an array initializer.

It’s working now; I had to change the encoding system to UTF-8, save and rename the file, and reopen it in VSCode. Thanks for the suggestions.