Skip to content

Build the current develop branch failed with 2 failures by gradle 8.14.3 using OpenJDK 17/21/23/24 on Windows 10 Pro 64 bit #1381

@anatoly-spb

Description

@anatoly-spb

Cannot build current development branch on Windows 10 Pro 64 bit machine.

The following commands

>git clone [email protected]:palantir/palantir-java-format.git
>cd palantir-java-format
>git checkout develop
>set JAVA_HOME=C:\Program Files\BellSoft\LibericaJDK-17
>set PATH=%JAVA_HOME%\bin;%PATH%
>gradlew.bat :idea-plugin:build 

failed with:

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 

[Incubating] Problems report is available at: file:///D:/java/palantir-java-format/build/reports/problems/problems-report.html

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file 'D:\java\palantir-java-format\build.gradle' line: 72

* What went wrong:
A problem occurred evaluating root project 'palantir-java-format-parent'.
> The value for this property is final and cannot be changed any further.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project 'palantir-java-format-parent'.
> Failed to calculate the value of task ':eclipse_plugin:compileJava' property 'javaCompiler'.
   > Cannot query the value of this property because it has no value available.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 11s

What is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions