Skip to content

scala-steward/sbt-delombok

This branch is 1 commit ahead of, 12 commits behind ThoughtWorksInc/sbt-delombok:1.0.x.

Repository files navigation

sbt-delombok

Build Status

sbt-delombok is an sbt plug-in to delombok Java sources files that contain Lombok annotations. With the help of this plug-in, you can generate Javadoc that contains Lombok-generated classes and methods.

Usage

Step 1: Add the following settings in your build.sbt:

libraryDependencies += "org.projectlombok" % "lombok" % "latest.release" % Provided

crossPaths := false

autoScalaLibrary := false

The above sbt file creates a Java only project without Scala library. Then you can put some Java source files that contain some Lombok annotations into src/main/java.

Step 2: Add the following settings in your project/plugins.sbt:

addSbtPlugin("com.thoughtworks.sbt" % "delombokjavadoc" % "latest.release")

Step 3: Generate Javadoc:

sbt doc

Now you can see Lombok-generated classes and methods in your Javadoc.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%