Answer the question
In order to leave comments, you need to log in
Why does including the Groovy library provoke an error in Gradle?
I get the error "'dependencies' cannot be applied to '(groovy.lang.Closure)'" after I include the Groovy library. It doesn't matter, through gradle or through jar manually.
(If you remove compile and testCompile, everything works fine, and no errors appear)
In addition, gradle also does not allow you to build the project
Please tell me what I'm doing wrong.
IDE - Intellij IDEA 2018.2
Gradle - 5.1.1
JDK - 11.0.1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question