Skip to content

Commit 0d05632

Browse files
committed
fix
1 parent b9cbdca commit 0d05632

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/kotlin/ai.javaagent-instrumentation.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,8 @@ tasks.withType<Test>().configureEach {
6868
return@filter true
6969
}
7070
}
71+
72+
// Fix configuration cache compatibility for ByteBuddy tasks
73+
tasks.matching { it.name == "byteBuddyJava" }.configureEach {
74+
notCompatibleWithConfigurationCache("ByteBuddy tasks access Task.project at execution time")
75+
}

0 commit comments

Comments
 (0)