The book states:
1 to 4 implementation & annotationProcessor, then
// 5
kapt “android.arch.persistence.room:compiler:” + “$room_version”
When run, the error appears:
Could not find method kapt() for arguments [android.arch.persistence.room:compiler:1.0.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
StackOverflow research: Please confirm.
build.gradle (Module: app) add this line to the top after the other apply’s
apply plugin: ‘kotlin-kapt’