org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':sample:kaptGenerateStubsDebugKotlin'.
使用kotlin
编写AbstractProcessor
时遇到该报错
确保你的compiler
的project#build.gradle
apply plugin: 'java-library'
apply plugin: 'kotlin'
dependencies {
//...
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.41"
}
网友评论