current state
I am currently working on a java application that is supposed to clone different projects locally and the generate the sonar-project.properties file to prepare for SonarQube analysis.
The application can do this for maven based projects by detecting the "pom.xml" file and getting the needed property e.g. "sonar.modules" from the tag in that file and writes them into the sonar-project.properties file of that project.
Question
Now I'm supposed to expand my program to analyze Gradle based projects. Since I have never worked with Gradle my question is where I can find the information I need in order to configure the sonar-project.properties file e.g. modules, sourceDirectory etc. correctly.
This is my first SOF-question so please write a comment if you need any additional information.
Thanks in Advance.