In a Spring Boot project, which file is primarily used to declare project dependencies?

  • application.properties
  • build.gradle
  • pom.xml
  • package.json
In a Spring Boot project, the pom.xml file is primarily used to declare project dependencies when using Maven as the build tool. This XML configuration file contains information about project metadata and dependencies, making it essential for managing project dependencies and ensuring proper version control. The other options are not used for dependency management in Spring Boot projects.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *