Gradle integration with idea bug on dependency scope mapping

Gradle 3.3 and 3.4 maps all dependencies to ‘provided’ by default, therefore making impossible to run the application using idea run feature. In this case, it is a Spring Boot application.
This works fine on 2.13.

Please see this issue for further details and a workaround.