https://kotlinlang.org logo
Title
g

gildor

03/10/2017, 2:23 AM
@samthompson Works for us without problem (kotlin 1.1, kapt3)
s

samthompson

03/10/2017, 2:25 AM
@gildor Mind sharing a snippit of your gradle files with the relevant info? Edit: clarity
g

gildor

03/10/2017, 2:27 AM
Sorry, NDA. Anyway, our build configs are too complicated to use them for reference. Nothing special with kapt3 configuration:
apply plugin: ‘kotlin-kapt’
and
kapt “com.android.databinding:compiler:2.3.0”
Check that you have correct com.android.databinding:compiler dependency version
version should be the same as android gradle plugin version
s

samthompson

03/10/2017, 2:29 AM
Thanks! 👍
g

gildor

03/10/2017, 2:30 AM
Actually, maybe you can share build config logs
s

samthompson

03/10/2017, 3:06 AM
Away from my computer at the moment, I'll upload them in a bit
Weird. Just as a test, I just created a new project in android studio 2.3 with databinding configured and it compiled without issues. Go figure 🤔
I did have
apply plugin: ‘kotlin-kapt’
and
kapt “com.android.databinding:compiler:2.3.0”
in my previous project. The only difference I can think of between the existing project and the test project is that the existing project was converted from an android studio 2.2 project
g

gildor

03/11/2017, 5:48 AM
Actually, It shouldn’t be problem, because it’s still gradle project, probably some other problem with caches