4 ms·
Maven's HTML/XML-style syntax in dkopi's example... <dependency> <groupId>org.sakaiproject.edu-services.course-management</groupId> <artifactId
by vorg 12y ago
Maven's HTML/XML-style syntax in dkopi's example...
<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.
- ajoy39 12y agoI'm absolutely nitpicking here, but Gradle's style is closer to json.
- pjmlp 12y agoIf at least they had used a JSON parser instead of a full blown (slow) language!
- vorg 12y agoUsing Groovy to parse their build scripts instead of an industry standard like JSON is what's holding Gradle back. But I suspect they'll open their build process up as an API now that Java provides lambdas.