-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Labels
Description
What happened?
Hi,
when updating to the version 2.x plugin, our ARM builds fail with:
13:59:25 * What went wrong:
13:59:25 Execution failed for task ':tools:clionplugin:test'.
13:59:25 > Error while evaluating property 'javaLauncher' of task ':tools:clionplugin:test'.
13:59:25 > Failed to calculate the value of task ':tools:clionplugin:test' property 'javaLauncher'.
13:59:25 > Failed to query the value of task ':tools:clionplugin:prepareTest' property 'runtimeMetadata'.
13:59:25 > Process 'command '/home/builduser/.gradle/caches/8.14.3/transforms/2b1b8b6d99a3e670dc001c6acb53311f/transformed/jbr-jbr_jcef-17.0.10-linux-x64-b1207.12/jbr_jcef-17.0.10-linux-x64-b1207.12/bin/java'' finished with non-zero exit value 2
Using --stacktrace --debug does not improve the error message. All stacktraces are from Gradle starting a process.
I've tested versions 2.8, 2.9, and 2.10.4 of the plugin, 2024.1 and 2024.2 targets of Intellij Idea.
jbr_jcef-17.0.10-linux-x64-b1207.12 sounds like the plugin tries to resolve a x64 jdk for an ARM cpu ?
The old plugin works without a problem with 2024.1 and on ARM.
Any help is appreciated, thanks!
Relevant log output or stack trace
13:59:25 * What went wrong:
13:59:25 Execution failed for task ':tools:clionplugin:test'.
13:59:25 > Error while evaluating property 'javaLauncher' of task ':tools:clionplugin:test'.
13:59:25 > Failed to calculate the value of task ':tools:clionplugin:test' property 'javaLauncher'.
13:59:25 > Failed to query the value of task ':tools:clionplugin:prepareTest' property 'runtimeMetadata'.
13:59:25 > Process 'command '/home/builduser/.gradle/caches/8.14.3/transforms/2b1b8b6d99a3e670dc001c6acb53311f/transformed/jbr-jbr_jcef-17.0.10-linux-x64-b1207.12/jbr_jcef-17.0.10-linux-x64-b1207.12/bin/java'' finished with non-zero exit value 2Steps to reproduce
dependencies {
intellijPlatform {
// intellijIdeaCommunity is deprecated and needs to be changed when targeting 2025.3+
intellijIdeaCommunity("2024.1") {
// The new IntelliJ plugin now uses installer builds by default.
// I could not get the installer builds be downloaded via our Artifactory.
// Let's keep using the old school zip archives.
useInstaller = false
}
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html?from=jetbrains.org#testing
testFramework(TestFrameworkType.Platform.INSTANCE)
}Gradle IntelliJ Plugin version
2.10.4
Gradle version
8.14.3
Operating System
Linux
Link to build, i.e. failing GitHub Action job
No response