Before, I was using Gradle build version 26, but subsequently, I changed the build tools version to 27 as seen in the image.
I recently updated all of my dependency files for Android Studio 4.2.2.
      sourceCompatibility JavaVersion.VERSION_1_10
      targetCompatibility JavaVersion.VERSION_1_10
to
compileOptions {
           sourceCompatibility kotlin_version
           targetCompatibility kotlin_version
         }
after the update I am getting this error please help

error : error build gradle screenshot 