cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine
https://www.cuba-platform.com
Apache License 2.0
248 stars 74 forks source link

Can't build Yarg from source using Oracle SE JDK 13 and OpenJDK 13 #120

Closed Durobot closed 4 years ago

Durobot commented 4 years ago

Environment

Description of the bug

  1. Remove JDK from the system (if installed), install Oracle SE JDK 13 or OpenJDK 13
  2. Clone yarg from https://github.com/cuba-platform/yarg
  3. Go to yarg/core
  4. Run gradle.bat assemble (on Linux, ./gradle assemble)

yarg-gradle-build-error-linux-open-jdk-13.txt yarg-gradle-build-error-win-oracle-jdk-13.txt

andreysubbotin commented 4 years ago

Gradle doesn't work with Java 13. Keep it open until Gradle 6 is released. https://github.com/gradle/gradle/issues/8681 https://github.com/jhipster/generator-jhipster/pull/10486

Use java 11 for building from sources.

Durobot commented 4 years ago

Thank you! May I suggest adding a note about this to https://github.com/cuba-platform/yarg/wiki > How to build it from sources?

andreysubbotin commented 4 years ago

Added notes to 'How to build it from sources'