Gradle Project: The main branch has no lines of code

Hii
Iam trying to get familier with sonarcloud by setting-up a gradle-demo project (helloworld.java). i haven’t seen any results in overview of my project.
Here is my result in terminal:
BUILD SUCCESSFUL in 15s
2 actionable tasks: 1 executed, 1 up-to-date
Here is my sonarcloud properties in build.gradle:
sonarqube {

properties {

property "sonar.projectKey", "gradle-demo"

property "sonar.organization", "gradle-demo"

property "sonar.host.url", "https://sonarcloud.io"

property "sonar.login", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

property "sonar.sourceEncoding", "UTF-8"

}

}

Hello @js-techie ,

Since this is a demo project, is it available on GitHub or a similar service? That would help with figuring out what is going wrong here.

Best,
Martin

Hi @Martin_Bednorz
It is a Bitbucket service , with having HelloWorld.java and Greeter.java

Would it be possible to share the source code (including gradle configuration files etc.)? That would make it easier to test ourselves. If you are not comfortable to do it publicly please feel free to send me a private message.

Hi @Martin_Bednorz