Skip to content

bennyflint/lombok-module-jdk10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lombok-module-jdk10

To reproduce: ./gradlew -Dorg.gradle.java.home=<path.to.your.jdk10> build

The error I receive is:

> Task :compileJava FAILED
/Users/bflint/IdeaProjects/lombok-module-jdk10/src/main/java/module-info.java:2: error: module not found: lombok
    requires lombok;
             ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* 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 0s
1 actionable task: 1 executed

My Setup

Notes

  • Also fails using JAVA_HOME instead of org.gradle.java.home property.
  • I also tried installing lombok-edge in my local maven repo and using the gradle-apt-plugin. I receive the same error as above.
  • Also tried using the gradle-lombok plugin with lombok-edge. I receive the same error.
  • The build succeeds and Lombok correctly generates .class file when I remove module-info.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages