Skip to content

Commit 4244512

Browse files
committed
renaming tasks
1 parent c686ef7 commit 4244512

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

javaagent/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ tasks.register<Copy>("extractRelocatedOtelClasses") {
8484
into("$buildDir/tmp/relocated-otel-classes")
8585
}
8686

87-
// task to clean up empty directories
88-
tasks.register("cleanEmptyDirs") {
87+
tasks.register("extractOtelInstrumentationToInst") {
8988
description = "Removes empty directories from the relocated classes directory"
9089

9190
dependsOn("extractRelocatedOtelClasses")
@@ -118,7 +117,7 @@ fun deleteEmptyDirs(dir: File) {
118117
tasks.register<Copy>("combineAndConvertToClassdata") {
119118
description = "Combines all classes and converts to .classdata"
120119

121-
dependsOn("extractCustomInstrumentationToInst", "cleanEmptyDirs")
120+
dependsOn("extractCustomInstrumentationToInst", "extractOtelInstrumentationToInst")
122121

123122
// include the relocated OpenTelemetry classes
124123
from("$buildDir/tmp/relocated-otel-classes") {

0 commit comments

Comments
 (0)