apply plugin: "java"

apply plugin: "sonar-runner"

sonarRunner {
    sonarProperties {
        property "sonar.host.url", "http://my.server.com"
        property "sonar.jdbc.url", "jdbc:mysql://my.server.com/sonar"
        property "sonar.jdbc.driverClassName", "com.mysql.jdbc.Driver"
        property "sonar.jdbc.username", "Fred Flintstone"
        property "sonar.jdbc.password", "very clever"
    }
}

repositories {
    mavenCentral()
}

sonarRunner {
    toolVersion = '2.3' // default
}

dependencies {
    compile "commons-collections:commons-collections:3.2"
    testCompile "junit:junit:4.+"
}
