Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xdevalias/10833765 to your computer and use it in GitHub Desktop.
Save 0xdevalias/10833765 to your computer and use it in GitHub Desktop.

Using Lombok with Play! 2.2x

http://projectlombok.org/

  • This is mostly a note for me to help save a TON of time screwing around again.
  • Play 2.2.x works 'out of the box' just by including lombok in your dependencies
libraryDependencies ++= Seq(
  foo,
  bar,
  baz,
  "org.projectlombok" % "lombok" % "1.12.6"
)
  • Where you run into issues is that play eclipse won't add the correct stuff for lombok to work correctly.
  • After a lot of messing around, I just went back to the method suggested on the site

By Glenn 'devalias' Grant (http://www.devalias.net/)

http://blog.devalias.net/post/82877817438/using-lombok-with-play-framework-2-2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment