facebook / facebook/litho

Litho gradle build fails with JDK 11

Open
#646 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
7.8k
Forks
768
PR merge metrics
No merged PRs in 30d

Description

WA is just to drop back to JDK8.

```
$ ./gradlew :sample:installDebug

> Configure project :litho-it
11.0.4 (Oracle Corporation 11.0.4+10-LTS)
null

FAILURE: Build failed with an exception.

* Where:
Build file './litho/litho-it/build.gradle' line: 98

* What went wrong:
A problem occurred evaluating project ':litho-it'.
> java.lang.NullPointerException (no error message)

* 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

BUILD FAILED in 1s
```

Fails because Jvm.current().getToolsJar() is null.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.