We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1a3b6 commit 82d61e4Copy full SHA for 82d61e4
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
@@ -298,10 +298,9 @@ private static void configureEntitlements(Project project) {
298
299
// Agent
300
if (agentFiles.isEmpty() == false) {
301
- var systemProperties = test.getExtensions().getByType(SystemPropertyCommandLineArgumentProvider.class);
302
test.getInputs().files(agentFiles);
303
- systemProperties.systemProperty("es.entitlement.agentJar", agentFiles.getAsPath());
304
- systemProperties.systemProperty("jdk.attach.allowAttachSelf", true);
+ test.systemProperty("es.entitlement.agentJar", agentFiles.getAsPath());
+ test.systemProperty("jdk.attach.allowAttachSelf", true);
305
}
306
307
// Bridge
0 commit comments