Skip to content

kotlin-hands-on/kotlin-lombok-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Lombok Compiler Plugin Examples

This repository demonstrates various approaches to using the Kotlin Lombok compiler plugin in different build systems and configurations. The examples showcase interoperability between Java Lombok-annotated classes and Kotlin code.

Examples

Multi-module Gradle project demonstrating three different Lombok configurations:

  • nokapt - Basic Lombok without KAPT (suitable if you don't need KAPT)
  • yeskapt - Lombok with KAPT for better Kotlin integration and multiple annotation processors
  • withconfig - Lombok with custom configuration via lombok.config file

Multi-module Maven project showing two approaches:

  • nokapt - Lombok usage without KAPT for simpler configuration
  • yeskapt - Lombok with KAPT for multiple annotation processors

Getting Started

Choose the example that best matches your build system and requirements:

  • Use Gradle examples if you're using Gradle build system
  • Use Maven examples if you're using Maven build system
  • Use nokapt variants for basic Lombok functionality
  • Use yeskapt variants when you need additional annotation processors alongside Lombok

For detailed setup and usage instructions, see the README files in each example directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •