bod
05/21/2017, 1:37 PMapply plugin: 'kotlin-kapt'
or is it an experimental thing? I mean you can use kapt
dependencies even if you don’t do it, but it works differently it seems - which is a bit confusing. Any clarification on this would be much appreciated 🙂igoticecream
05/21/2017, 5:39 PMbod
05/21/2017, 5:41 PMkapt
dependencies in gradle project even if you don’t use the kotlin-kapt
plugin. And if you do use this plugin, you get a different version of kapt
. Is this correct?lovis
05/22/2017, 7:19 AMkotlin-kapt
is kapt3. Works well for usbod
05/22/2017, 8:34 AMkapt
? Like, v2? Whereas if you use it, you get kapt3
?lovis
05/22/2017, 8:36 AMbod
05/22/2017, 8:38 AMgenerateStubs
? This seems to be optional, or not, depending on which version 😉lovis
05/22/2017, 8:41 AMbod
05/22/2017, 8:46 AMlovis
05/22/2017, 9:20 AMcompile "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
bod
05/22/2017, 9:25 AMlateinit
for your injected fields? In this case they are correctly public.lovis
05/22/2017, 10:42 AM@Inject var myField: Thing? = null
or are you using notNull
delegatebod
05/22/2017, 11:28 AM@Inject var myField: Thing? = null
- of course it makes more sense with lateinit
🙂 But this should work anyway so I think it's a buglovis
05/22/2017, 1:23 PMbod
05/22/2017, 1:29 PM