File tree Expand file tree Collapse file tree
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ public abstract class ShadowPlugin : Plugin<Project> {
3232 // the behavior with the old plugin when applying in that order.
3333 apply (LegacyShadowPlugin ::class .java)
3434
35- project.rootProject. plugins.withId(" com.gradle.develocity" ) {
35+ project.plugins.withId(" com.gradle.develocity" ) {
3636 configureBuildScan(project)
3737 }
3838 }
3939
4040 private fun configureBuildScan (project : Project ) {
4141 val shadowTasks = project.tasks.withType(ShadowJar ::class .java)
42- val buildScan = project.rootProject. extensions.getByType(BuildScanConfiguration ::class .java)
42+ val buildScan = project.extensions.getByType(BuildScanConfiguration ::class .java)
4343 buildScan.buildFinished {
4444 shadowTasks.forEach { task ->
4545 // TODO Add actual Shadow stats as custom values
You can’t perform that action at this time.
0 commit comments