Prev Next

DevOps / Gradle interview questions

How do I add gradle dependencies?

To add a dependency to your project, specify a dependency configuration such as compile under the dependencies block of your build.gradle file.

dependencies {
   compile group: 'org.hibernate', name: 'hibernate-core', version: '3.6.7.Final'
   testCompile group: 'junit', name: 'junit', version: '4.+'
}

More Related questions...

Show more question and Answers...


Comments & Discussions