I changed my Kotlin version from 1.6.10 to 1.7.0.
from this
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10'
upgrated to
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.0'
But Hilt throws an error. My Hilt version is 2.42. Is there a way to fix this without downgrading again? It works fine in Kotlin 1.6.10 and Hilt 2.42. But I want to use it by upgrading my kotlin version.