Difference between revisions of "Java Build Automation Tools"

(Created page with " ====Apache Ant with Ivy==== ====Maven==== ====Gradle====")
 
 
Line 3: Line 3:
 
====[[Maven]]====
 
====[[Maven]]====
 
====[[Gradle]]====
 
====[[Gradle]]====
 +
 +
 +
 +
Maven Repository Link : [https://mvnrepository.com/ | https://mvnrepository.com/]
 +
 +
Sample Spring maven comfiguration:
 +
 +
<source>
 +
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
 +
<dependency>
 +
    <groupId>org.springframework</groupId>
 +
    <artifactId>spring-core</artifactId>
 +
    <version>5.0.6.RELEASE</version>
 +
</dependency>
 +
 +
</source>
 +
 +
Gradle
 +
 +
<source>
 +
// https://mvnrepository.com/artifact/org.springframework/spring-core
 +
compile group: 'org.springframework', name: 'spring-core', version: '5.0.6.RELEASE'
 +
 +
</source>
 +
 +
Ivy - Ant
 +
<source>
 +
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
 +
<dependency org="org.springframework" name="spring-core" rev="5.0.6.RELEASE"/>
 +
 +
</source>

Latest revision as of 06:07, 3 June 2018

Apache Ant with Ivy

Maven

Gradle

Maven Repository Link : | https://mvnrepository.com/

Sample Spring maven comfiguration:

<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>5.0.6.RELEASE</version>
</dependency>

Gradle

// https://mvnrepository.com/artifact/org.springframework/spring-core
compile group: 'org.springframework', name: 'spring-core', version: '5.0.6.RELEASE'

Ivy - Ant

<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency org="org.springframework" name="spring-core" rev="5.0.6.RELEASE"/>