KotlinPoetDSL provides a dsl for KotlinPoet.
At this moment, it's still a playground!!!
So, unless you're really adventurous, don't use in production!
Toadd the library:
- Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
implementation 'nl.devhaan:KotlinPoetDSL:0.1.1'
}
For the guide go to https://kotlinpoetdsl.devhaan.nl