Reputation: 1800
In Gradle is there a difference between these 2?
implementation 'com.oracle.database.jdbc:ojdbc8:21.1.0.0'
implementation group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.1.0.0'
If not is there a preference between one or another?
Upvotes: 1
Views: 347
Reputation: 3815
It's basically the same thing but called in a different (overloaded) way. First is a single string arg method which is parsed for its parts, second is a multi argument method where the parts are passed.
You can think of it like these pseudo code methods:
implementation(String dependency){}
implementation(String group, String name, String version){}
Upvotes: 2