When I upgrade the kotlin-gradle-plugin version from 1.5.0 to 1.7.20 in Android plugin project, I got this exception.
I use this code in build.gradle
compileGroovy.classpath += files(compileKotlin.destinationDir)
How can I solve it?
My evn is:
I found the replacement function.
compileKotlin.destinationDirectory.get()
so the question can use this code to resolve.
compileGroovy.classpath += files(compileKotlin.destinationDirectory.get())