Método DSL Gradle não encontrado: test ()
Tentei adicionar o seguinte código no final do meubuild.gradle
no Android-Studio 1.2 (conforme recomendado emesta postagem):
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
Mas conseguiu:
Error:(40, 0) Gradle DSL method not found: 'test()'
Possible causes:
- The project 'xxxxx' may be using a version of Gradle that does not contain the method.
- The build file may be missing a Gradle plugin.
Do que eu senti falta?