https://kotlinlang.org logo
Title
g

guenther

03/16/2018, 11:39 AM
Does anybody has experience with external build scripts and KotlinDSL: What I have (and what works in groovy)
build.gradle.kts

plugins {
    id("org.sonarqube") version "2.6.2" apply false
}
apply {
    from("sonarqube.gradle.kts")
}


--------
sonarqube.gradle.kts


apply{
    plugin("org.sonarqube")
}

configure<org.sonarqube.gradle.SonarQubeExtension> {
    properties {
        property("sonar.projectName", "${rootProject.name}-${project.name}")
    }
}
m

mkobit

03/16/2018, 2:02 PM
g

guenther

03/16/2018, 2:56 PM
Thanks. I must say that I was searching quite a while, but never stumbled over that issue. Just used the wrong keywords for the search...