0 votes
in Gradle by
Which of the following is valid gradle syntax to add a compile dependency on junit?

A. compile name=junit version=4.1.2

B. compile ‘junit:4.12’

C. compile ‘junit:version:4.1.12’

D. compile ‘junit:junit:4.1.12’

1 Answer

0 votes
by

Ans: D. compile ‘junit:junit:4.1.12’

...