Libraries are not populated using sonarRunner gradle scan

Hello,

I am running a gradle build with sonarRunner and am not seeing the libraries show up. I have configured my sonarRunner task as follows:

sonarRunner {

sonarProperties {
    property "sonar.host.url", "http://localhost:9002"
    property "sonar.jdbc.url", "jdbc:h2:tcp://localhost:9094/sonar"
    property "sonar.libraries", "../libdir/*.jar"
}

}

I have tried a few different iterations and am never seeing the libraries show up. Also in my output I can see that libraries which are in the folder in question are not resolved. For example,

19:43:51.446 ERROR - Class not found: org.apache.axis.description.TypeDesc
19:43:51.447 ERROR - Class not found: org.apache.axis.encoding.Serializer
19:43:51.447 ERROR - Class not found: org.apache.axis.encoding.Deserializer
19:43:51.933 ERROR - Class not found: org.apache.axis.description.TypeDesc
19:43:51.933 ERROR - Class not found: org.apache.axis.encoding.Serializer
19:43:51.933 ERROR - Class not found: org.apache.axis.encoding.Deserializer

I do get all of the projects for the local source/class files. It is only the external dependencies that don’t show up under the project. I had read that this functionality comes automatically with Maven but Gradle may be more problematic. Does anyone know how to solve this?

Thanks,

Adam