Skip to content

Installation

Anshoo Arora edited this page Aug 13, 2020 · 3 revisions

ExtentReports can be used with classic Java setup, just like any standard Java library. Although you can copy the ExtentReports jars, the recommended way is to use dependency management tools such as Maven or Gradle (below). The only requirement is you need Java SDK v1.8 or higher. Before you begin, you should check the version of installed JDK using the following command:

$ java -version

Note: The package com.relevantcodes was used upto version 2. com.aventstack is the package for Versions 3+.

Maven

<dependency>
  <groupId>com.aventstack</groupId>
  <artifactId>extentreports</artifactId>
  <version>${version}</version>
</dependency>

Gradle

dependencies {
  compile "com.aventstack:extentreports:${version}"
}
Clone this wiki locally