Skip to content

ThoughtWorksInc/sbt-delombok

1.0.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Packages

No packages published

Languages