I have to say, new kapt is mess. I am using Dagger, etc, have modules app, ui and lib and when I make change in lib, I need to do full rebuild(13 minutes) because of kapt errors. Every fckin change must be full rebuild. I am using 1.1.4
g
gildor
08/18/2017, 12:58 PM
It's definitely something wrong with your build.
On our quite big application with lot of AP and a few modules we have less then 2 min for full rebuild.
Maybe you could give more details at #kapt
Do you used kapt1 before?
f
fair_enough
08/18/2017, 12:58 PM
Yes
even kapt 2. I think now is kapt 3
Just added kotlin.incremental=false to local.properties and it is working
g
gildor
08/18/2017, 1:23 PM
Kapt 2 not available quite a long time
Completely replaced with kapt3 implementation long time ago, much before 1.1.4
f
fair_enough
08/18/2017, 1:57 PM
I know, that problem started with kapt3 when we switched from 1.1.0 to 1.1.3-2 (sometimes) and now when switched to 1.1.4 yesterday, then always. But maybe problem occurs when I change some specific class and incremental compilation with kapt3 causing those errors.
g
gildor
08/18/2017, 4:46 PM
I think you should create an issue about problem with incremental compilation