dead.fish
05/22/2020, 11:03 AMdetektPlugins(project("...")) configuration would no longer work anyways...Javier
05/22/2020, 11:21 AMimplementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt")dead.fish
05/22/2020, 11:27 AMdetekt-api there, applying the plugin there should work?! Nice!dead.fish
05/22/2020, 11:46 AMJavier
05/22/2020, 11:52 AMimplementation let you use detektPlugins in precompiled pluginsJavier
05/22/2020, 11:53 AMJavier
05/22/2020, 11:53 AMJavier
05/22/2020, 11:53 AMJavier
05/22/2020, 11:54 AMdead.fish
05/22/2020, 12:14 PMPlugin<Project> derived class) at all, but if this works for you, well.dead.fish
05/22/2020, 12:15 PMdependencies {
val detektPlugins by configurations
detektPlugins(files("$rootDir/buildSrc/build/libs/buildSrc.jar"))
}dead.fish
05/22/2020, 12:15 PMJavier
05/22/2020, 12:25 PMJavier
05/22/2020, 12:26 PMJavier
05/22/2020, 12:27 PMArtur Bosch
05/26/2020, 10:51 AMdetektPlugins :
https://github.com/detekt/detekt/blob/master/buildSrc/src/main/kotlin/detekt.gradle.kts#L45Javier
05/26/2020, 12:04 PMdead.fish
06/09/2020, 10:26 AMbuildSrc as build configuration source. I see however that Gradle provides no clean way to access the buildSrc module itself for this configuration, probably because of https://github.com/gradle/gradle/issues/2531