Skip to content

Commit 53d65ef

Browse files
committed
Revert "Fix build due to phasing off SecurityManager usage in favor of Java Agent (opensearch-project#1504)"
This reverts commit d6ddd5b. Signed-off-by: Pranav Reddy <pranavrd@amazon.com>
1 parent d6ddd5b commit 53d65ef

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

build.gradle

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -138,26 +138,6 @@ allprojects {
138138
targetCompatibility = JavaVersion.VERSION_21
139139
sourceCompatibility = JavaVersion.VERSION_21
140140
}
141-
142-
configurations {
143-
agent
144-
}
145-
146-
task prepareAgent(type: Copy) {
147-
from(configurations.agent)
148-
into "$buildDir/agent"
149-
}
150-
151-
dependencies {
152-
agent "org.opensearch:opensearch-agent-bootstrap:${opensearch_version}"
153-
agent "org.opensearch:opensearch-agent:${opensearch_version}"
154-
agent "net.bytebuddy:byte-buddy:${versions.bytebuddy}"
155-
}
156-
157-
tasks.withType(Test) {
158-
dependsOn prepareAgent
159-
jvmArgs += ["-javaagent:" + project.layout.buildDirectory.file("agent/opensearch-agent-${opensearch_version}.jar").get()]
160-
}
161141
}
162142

163143
publishing {

0 commit comments

Comments
 (0)