I definitely don’t require kotlinpoet, but you can...
# squarelibraries
a
I definitely don’t require kotlinpoet, but you can technically generate code without it no matter what. My goal is to create a class containing static values for time built, git hash (if it exists), project name, and some other configs that are available at compile time but outside of the actual project. I plan on displaying these configs in a rest endpoint, which is why I have a model already. My consideration was that if I could pretty much output
object A { val s: String = "test", val b: Int = 2 }
by having the actual object
A
and its values, it would be easier than me generating each field myself.