# Libraries are not populated using sonarRunner gradle scan

**URL:** <https://discuss.gradle.org/t/libraries-are-not-populated-using-sonarrunner-gradle-scan/11747>\
**Category:** Help/Discuss\
**Created:** [September 18, 2015, 11:51pm UTC](https://discuss.gradle.org/t/libraries-are-not-populated-using-sonarrunner-gradle-scan/11747 "2015-09-18T23:51:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zambien](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zambien](https://discuss.gradle.org/u/zambien)\
**Post date:** [September 18, 2015, 11:51pm UTC](https://discuss.gradle.org/t/libraries-are-not-populated-using-sonarrunner-gradle-scan/11747/1 "2015-09-18T23:51:22Z")

</div>

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
