Skip to content

Commit b6d48a1

Browse files
committed
Revert "Fix build due to phasing off SecurityManager usage in favor of Java Agent (opensearch-project#1823)"
This reverts commit 46f5e40. Signed-off-by: Pranav Reddy <[email protected]>
1 parent 46f5e40 commit b6d48a1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

build.gradle

-20
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,6 @@ allprojects {
9999
preserveFileTimestamps = false
100100
reproducibleFileOrder = true
101101
}
102-
103-
configurations {
104-
agent
105-
}
106-
107-
task prepareAgent(type: Copy) {
108-
from(configurations.agent)
109-
into "$buildDir/agent"
110-
}
111-
112-
dependencies {
113-
agent "org.opensearch:opensearch-agent-bootstrap:${opensearch_version}"
114-
agent "org.opensearch:opensearch-agent:${opensearch_version}"
115-
agent "net.bytebuddy:byte-buddy:1.17.5"
116-
}
117-
118-
tasks.withType(Test) {
119-
dependsOn prepareAgent
120-
jvmArgs += ["-javaagent:" + project.layout.buildDirectory.file("agent/opensearch-agent-${opensearch_version}.jar").get()]
121-
}
122102
}
123103

124104
evaluationDependsOnChildren()

0 commit comments

Comments
 (0)