Currently we\'re using Jenkins free style job for Gradle project and using following commands to run Sonar and Dependencycheck
./gradlew clea