kapt.use.worker.api is deprecated

Viewed 1197

After build I get this warning:

'kapt.use.worker.api' is deprecated and scheduled to be removed in Kotlin 1.8 release.

Knowing that I have in my gradle.properties :

kapt.use.worker.api=true

and in my Module level build.gradle :

apply plugin: 'kotlin-kapt'

then, what is the alternative to the deprecated line ?

1 Answers
Related