when i built the project i got this error:
API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To get rid of it i had to update ext.kotlin_version from 1.2.71 to 1.3.10
thanks