I used to see your issue but I was on an older version of gradle and we upgraded to 4.8.1.
On gradle 5.0 that issue goes away on my box: guozhang @kafka-work: gradle --version ------------------------------------------------------------ Gradle 5.0 ------------------------------------------------------------ Build time: 2018-11-26 11:48:43 UTC Revision: 7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987 Kotlin DSL: 1.0.4 Kotlin: 1.3.10 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 1.8.0_66 (Oracle Corporation 25.66-b17) OS: Mac OS X 10.13.2 x86_64 Guozhang On Wed, Dec 12, 2018 at 12:41 PM Boyang Chen <bche...@outlook.com> wrote: > Hey friends, > > I'm wondering anyone has seen this error before: > > Could not find method annotationProcessor() for arguments > [org.openjdk.jmh:jmh-generator-annprocess:1.21] on object of type > org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. > > Basically I'm building the trunk using intellij and it failed on > cross-configure project :jmh-benchmarks. > > Another issue I detected was that the org.mockito library was not found > during project build, which is also no clue yet. > > Any suggestion on further debugging would be really appreciated. > > Boyang > -- -- Guozhang