Hilt java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is >= 1.0
I'm facing issue while adding hilt dependencies in my project
plugins
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'realm-android'
id 'androidx.navigation.safeargs.kotlin'
id 'kotlin-parcelize'
}
dependencies
//Dependency injection with Hilt
implementation("com.google.dagger:hilt-android:2.38.1")
kapt("com.google.dagger:hilt-android-compiler:2.38.1")
implementation 'androidx.core:core-ktx:1.8.0'
implementation...