Login
Remember
Register
Ask a Question
Which of the following is valid gradle syntax to add a compile dependency on junit?
0
votes
asked
Apr 14, 2020
in
Gradle
by
Robindeniel
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’
#gradle-junit
Gradle-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 14, 2020
by
SakshiSharma
Ans: D. compile ‘junit:junit:4.1.12’
https://madanswer.com/25443/add-java-plugin-gradle
...