Czar
09/03/2019, 9:42 AMthanksforallthefish
09/03/2019, 10:38 AMCzar
09/03/2019, 10:44 AMthanksforallthefish
09/03/2019, 10:46 AMlateinit var
instead of val
? as officially val
is not supported, it might be you hit a corner case when it actually workedCzar
09/03/2019, 11:11 AMlateinit var
, it didn't work either. But I have narrowed the problem down to IntelliJ.
kapt seems to be doing its job properly: I see that kapt does generate metadata json in build/tmp/kapt3/classes/main/META-INF
with all my properties inside.
I'll look through intellij tracker and file the issue if there isn't one already.sdeleuze
09/03/2019, 1:09 PMnote that kapt is still not supported for IntelliJ IDEA’s own build system
sdeleuze
09/03/2019, 1:10 PMsdeleuze
09/03/2019, 1:10 PMsdeleuze
09/03/2019, 1:11 PMval
, but default values are not since we have no way to get themsdeleuze
09/03/2019, 1:13 PMkapt
is crap and will be replaced by compiler plugins in the future, with full support for any @ConfigurationProperties
feature, but it is too early since compiler plugin APIs are not stable and unless you are Google or Jetbrains, almost impossible to maintain.sdeleuze
09/03/2019, 1:13 PMsdeleuze
09/03/2019, 1:13 PMCzar
09/03/2019, 1:19 PM