Gradle Tutorial
Introduction Installation Creating project using command line Simple gradle project in IntelliJ IDEA build.gradle file settings.gradle file Directory structure of Gradle project Built-in tasks User defined tasks Task dependencies Running gradle tasks Grouping tasks Repository management in Gradle Declaring dependencies in Gradle JUnit TestNG Test execution reports in Gradle Creating executable Jar using Gradle Generating project API documentation in Gradle Publishing and deployment of artifact in GradlePublishing the project site in gradle
We can use maven plugin to install the artifact to local repository. After applying maven plugin, you can use install task to deploy the artifact to local repository.
apply plugin: 'maven'
After install task is executed the artifact is deployed to local maven repository as shown in below image. To deploy the artifact to remote repository, you can use below task in build.gradle file.
uploadArchives {
repositories {
mavenDeployer {
repository(url: “file://server/Repo/”)
}
}
}
Web development and Automation testing
solutions delivered!!