File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
buildSrc/src/main/java/org/opensearch/gradle/agent Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 16
16
import org .gradle .api .tasks .testing .Test ;
17
17
18
18
import java .io .File ;
19
- import java .util .Map ;
20
19
import java .util .Objects ;
21
20
22
21
/**
@@ -37,11 +36,8 @@ public void apply(Project project) {
37
36
38
37
project .afterEvaluate (p -> {
39
38
String opensearchVersion = getOpensearchVersion (p );
40
- String byteBuddyVersion = getByteBuddyVersion (p );
41
-
42
39
p .getDependencies ().add ("agent" , "org.opensearch:opensearch-agent-bootstrap:" + opensearchVersion );
43
40
p .getDependencies ().add ("agent" , "org.opensearch:opensearch-agent:" + opensearchVersion );
44
- p .getDependencies ().add ("agent" , "net.bytebuddy:byte-buddy:" + byteBuddyVersion );
45
41
});
46
42
47
43
Configuration finalAgentConfiguration = agentConfiguration ;
@@ -72,14 +68,4 @@ public void apply(Project project) {
72
68
private String getOpensearchVersion (Project project ) {
73
69
return Objects .requireNonNull (project .property ("opensearch_version" )).toString ();
74
70
}
75
-
76
- /**
77
- * Gets the ByteBuddy version from project properties, with a fallback default.
78
- *
79
- * @param project The Gradle project
80
- * @return The ByteBuddy version to use
81
- */
82
- private String getByteBuddyVersion (Project project ) {
83
- return (String ) ((Map <?, ?>) project .property ("versions" )).get ("bytebuddy" );
84
- }
85
71
}
You can’t perform that action at this time.
0 commit comments