It won't let me build if I use useJUnitPlatform()

I’m new to gradle, I started using it today, and well, I installed version 8.14 and following the user guide I created a new Java project, and I left most of the settings by default, except that I put groovy and not kotlin, and every time I try to do “build”, it throws me an exception, and after spending a while changing things, I realized that if I remove useJUnitPlatform() from the test section, it starts to compile without problems, I wanted to know why this is, am I supposed to use that configuration, right? the project is created by default, without any changes anywhere, and here I provide the scan:

I’d recommend moving the project to some place where you do not have special characters in the path (Programaci%C3%B3n) and check whether it works then.
There might be some involved party that does not like that path.
If so, you can try to find out which part and report a defect for it, but that could at least get you going.

Thank you very much, if it was because of the special characters in the path, I changed the folder name and all the commands started working without problems.

1 Like