Gradle4.6 update 6.0.1 Cannot specify -processorpath

gradle4.6 update 6.0.1
I use gradle build, output

  • What went wrong:
    Execution failed for task ‘:application:compileJava’.

Cannot specify -processorpath or --processor-path via CompileOptions.compilerArgs. Use the CompileOptions.annotationProcessorPath property instead.

use gradlew build -x test --warning-mode all --build-cache compileJava --debug
output:

Task :application:compileJava FAILED
Resolving global dependency management for project ‘application’
Excluding
Cache entries evicted. In-memory cache of C:\Users\DELL.gradle\caches\journal-1\file-access.bin: Size{400} MaxSize{400}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=10162}
Performance may suffer from in-memory cache misses. Increase max heap size of Gradle build process to reduce cache misses.
Excluding [org.apache.tomcat:tomcat-annotations-api, ognl:ognl]
Cache entries evicted. In-memory cache of C:\Users\DELL.gradle\caches\journal-1\file-access.bin: Size{400} MaxSize{400}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=10202}
Performance may suffer from in-memory cache misses. Increase max heap size of Gradle build process to reduce cache misses.
Cache entries evicted. In-memory cache of C:\Users\DELL.gradle\caches\journal-1\file-access.bin: Size{400} MaxSize{400}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=10203}
Performance may suffer from in-memory cache misses. Increase max heap size of Gradle build process to reduce cache misses.
Excluding
Custom actions are attached to task ‘:application:compileJava’.
Build cache key for task ‘:application:compileJava’ is 6f67fb86132a7440c105241420c2aaa3
Task ‘:application:compileJava’ is not up-to-date because:
Task has failed previously.
The input changes require a full rebuild for incremental task ‘:application:compileJava’.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with JDK Java compiler API.
:application:compileJava (Thread[Execution worker for ‘:’,5,main]) completed. Took 0.392 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:application:compileJava’.

Cannot specify -processorpath or --processor-path via CompileOptions.compilerArgs. Use the CompileOptions.annotationProcessorPath property instead.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s
13 actionable tasks: 1 executed, 12 up-to-date