Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with Java 11 fails (was "Broken Build") #68

Open
lindawr opened this issue Oct 18, 2022 · 1 comment
Open

Building with Java 11 fails (was "Broken Build") #68

lindawr opened this issue Oct 18, 2022 · 1 comment

Comments

@lindawr
Copy link

lindawr commented Oct 18, 2022

Java 8 is required to build the project, but this is not specified in the README. The build fails if using Java 11 (hence my original issue). I switched to Java 8, and it worked. I suppose it should be obvious, but could the README be updated to indicate this? It would save time.

@lindawr lindawr changed the title Broken Build Building with Java 11 fails (was "Broken Build") Oct 18, 2022
@dtr-axelor
Copy link
Contributor

Hello,
The new version https://github.com/axelor/open-suite-webapp/tree/v7.0.0-alpha requires Java 11 whereas former versions required Java 8. The java version required is indicated on https://github.com/axelor/open-suite-webapp/blob/v7.0.0-alpha/build.gradle#L22:

  java {
    toolchain {
      languageVersion = JavaLanguageVersion.of(11)
    }
  }

Adding it explicitely to the README is a good idea, I will transfer the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants