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’

Related questions

0 votes
asked Oct 21, 2019 in Gradle by SakshiSharma
0 votes
asked Apr 14, 2020 in Gradle by Robindeniel
...