Gradle is pretty tightly integrated with the IDE now, and in general I find myself rarely having to troubleshoot build problems with Android studio. Adding new dependencies is as simple as adding a single line to the build.gradle file, it's great.
Gradle: compile 'org.sakaiproject.edu-services.course-management:course-management:10.2'
It's worth the transition.
"com.google.guava:guava:18.0" could have been "guava:18.0".
That's a pretty huge "if" though.
<dependency>
<groupId>net.java.dev</groupId>
<artifactId>jvyaml</artifactId>
<version>0.2.1</version>
</dependency>
The artifactId is the name of the jar file.For all statements X If X contains "Java" Emit comment Y where disparaging(Y) is true.
<dependency>
<groupId>org.sakaiproject.edu-services.course-management</groupId>
<artifactId>course-management</artifactId>
<version>10.2</version>
</dependency>
...is equivalent to the Gradle/CSS-style ... dependency{
groupID: "org.sakaiproject.edu-services.course-management"
artifactId: "course-management"
version: "10.2"
}
...via simple syntactic transformations. Of course, IDE's go a step further and automatically generate and parse the whole shebang so the issue of syntax readability is moot if you use an IDE.If you like Gradle fine, but this is a really stupid thing to make that choice over.
Or maybe it's worth formatting a Maven syntax sample in your comment just like an IDE would:
<dependency>
<groupId>org.sakaiproject.edu-services.course-management</groupId>
<artifactId>course-management</artifactId>
<version>10.2</version>
</dependency>