File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ apply plugin: 'opensearch.opensearchplugin'
48
48
apply plugin : ' opensearch.pluginzip'
49
49
apply plugin : ' opensearch.rest-test'
50
50
apply plugin : ' opensearch.repositories'
51
+ apply plugin : ' opensearch.java-agent'
51
52
52
53
def pluginName = ' query-insights'
53
54
def pluginDescription = ' OpenSearch Query Insights plugin'
@@ -57,13 +58,6 @@ def pluginClassName = 'QueryInsightsPlugin'
57
58
58
59
configurations {
59
60
zipArchive
60
- agent
61
- }
62
-
63
- dependencies {
64
- agent " org.opensearch:opensearch-agent-bootstrap:${ opensearch_version} "
65
- agent " org.opensearch:opensearch-agent:${ opensearch_version} "
66
- agent " net.bytebuddy:byte-buddy:${ versions.bytebuddy} "
67
61
}
68
62
69
63
java {
@@ -371,13 +365,3 @@ task updateVersion {
371
365
}
372
366
}
373
367
374
- task prepareAgent (type : Copy ) {
375
- from(configurations. agent)
376
- into " $buildDir /agent"
377
- }
378
-
379
- tasks. withType(Test ) {
380
- dependsOn prepareAgent
381
- jvmArgs + = [" -javaagent:" + project. layout. buildDirectory. file(" agent/opensearch-agent-${ opensearch_version} .jar" ). get()]
382
- }
383
-
You can’t perform that action at this time.
0 commit comments