This project demonstrates how to set up a Java project with support for Ant, Maven, and Gradle builds, along with SonarQube integration.
- src: Contains the source code and resources.
- build.xml: Ant build script.
- pom.xml: Maven build script.
- build.gradle: Gradle build script.
- settings.gradle: Gradle settings file.
- sonar-project.properties: Configuration for SonarQube analysis.
Run the following command from the root directory:
ant -f build.xml
Run the following command from the root directory:
mvn clean install
Run the following command from the root directory:
gradle build
Run the following command from the root directory:
sonar-scanner