I am currently trying to migrate a Maven
project to Gradle
In my Maven
version I have the dependency versions all listed out l
On gradle v6.1.1
, the simplest is:
dependencies {
def jerseyVersion = '2.29.1'
compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: jerseyVersion
// ...
}
You can use now even more close to the dependencies in the App Gradle Build as shown below:
dependencies {
def daggerVersion = "2.24"
implementation "com.google.dagger:dagger:$daggerVersion"
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
}