Skip to content

Commit ef1b71b

Browse files
committed
chore: Remove CallSiteInstrumentationPlugin dependencies on instrumentJava
Since instrument plugin do post-processing within compileTask, it not anymore required to depends on instrumentation tasks (as they don't exist anymore)
1 parent e3b25eb commit ef1b71b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

buildSrc/src/main/kotlin/datadog/gradle/plugin/csi/CallSiteInstrumentationPlugin.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,7 @@ abstract class CallSiteInstrumentationPlugin : Plugin<Project> {
188188
dependsOn(mainCompileTask)
189189
}
190190

191-
// Workaround for instrument plugin modifying compile tasks
192-
project.pluginManager.withPlugin("dd-trace-java.instrument") {
193-
callSiteGeneratorTask.configure {
194-
dependsOn("instrumentJava")
195-
}
196-
}
197-
198-
// make all sourcesets' class tasks depend on call site generator
191+
// make all sourceSets class tasks depend on call site generator
199192
val sourceSets = project.sourceSets
200193
sourceSets.named(MAIN_SOURCE_SET_NAME) {
201194
project.tasks.named(classesTaskName) {

0 commit comments

Comments
 (0)