We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc63e1 commit e9f06c0Copy full SHA for e9f06c0
agent/test/helper.bash
@@ -151,7 +151,13 @@ find_annotation_jar() {
151
export ANNOTATION_JAR="$(find_annotation_jar)"
152
153
# absolute gradle wrapper path (in the same directory as this file)
154
-GRADLE_WRAPPER="$TOP_LEVEL/agent/test/gradlew"
+if is_java 25; then
155
+ # use 9.1 for newer java
156
+ GRADLE_WRAPPER="$TOP_LEVEL/gradlew"
157
+else
158
+ # this is 8.5 for older javas
159
+ GRADLE_WRAPPER="$TOP_LEVEL/agent/test/gradlew"
160
+fi
161
162
# Shared gradle wrapper function
163
gradlew() {
0 commit comments