Skip to content

Commit 02451c7

Browse files
committed
Use different TOOLS_JAVA_HOME for proguard and spotbugs
1 parent 06d4ad5 commit 02451c7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

ci/common.jsonnet

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,19 @@ local common_json = import "../common.json";
217217
}
218218
},
219219

220-
local code_tools = {
220+
# ProGuard does not yet run on JDK 25
221+
proguard: {
221222
downloads+: if 'jdk_version' in self && self.jdk_version > 21 then {
222-
TOOLS_JAVA_HOME: jdks_data['oraclejdk21'],
223+
TOOLS_JAVA_HOME: jdks_data['oraclejdk24'],
224+
IGV_JAVA_HOME: jdks_data['oraclejdk21'],
223225
} else {},
224226
},
225-
# GR-46676: ProGuard does not yet run on JDK 22
226-
proguard: code_tools,
227227
# GR-49566: SpotBugs does not yet run on JDK 22
228-
spotbugs: code_tools,
228+
spotbugs: {
229+
downloads+: if 'jdk_version' in self && self.jdk_version > 21 then {
230+
TOOLS_JAVA_HOME: jdks_data['oraclejdk21'],
231+
} else {},
232+
},
229233

230234
sulong:: self.cmake + {
231235
packages+: if self.os == "windows" then {

0 commit comments

Comments
 (0)