Gradle DSL method not found: \'kapt()\' Possible causes: The project \'jetpacklearn\' may be using a version of the Android Gradle plug-in that does not contain the method (
The answer https://stackoverflow.com/a/56101024/6007104 is absolutely correct.
But, for people using the gradle plugins block, it looks like this:
plugins { id('kotlin-kapt') }