Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
themeMidnight
<properties>
		...
     <!-- Add the following line into the "properties" section and supply the correct version number -->
     <reportium-sdk.version>1version>2.13.15<1</reportium-sdk.version>
		...
</properties>

<!-- Perfecto Repository -->
<repository>
    <id>perfectomobile</id>
    <name>Perfecto mobile</name>
    <url>https://repo1.perfectomobile.com/public/repositories/maven</url>
</repository>

<!-- Reporting SDK -->
<dependency>
    <groupId>com.perfecto.reporting-sdk</groupId>
    <artifactId>reportium-java</artifactId>
    <version>${reportium-sdk.version}</version>
</dependency>

<!-- Reporting SDK addition for Allure users -->
<dependency>
    <groupId>com.perfecto.reporting-sdk</groupId>
    <artifactId>reportium-allure-integration</artifactId>
    <version>${reportium-sdk.version}</version>
</dependency>

...

Code Block
languagexml
themeMidnight
<properties>
		...
     <!-- Add the following line into the "properties" section and supply the correct version number -->
     <reportium-sdk.version>1version>2.13.15<1</reportium-sdk.version>
		...
</properties>

<!-- Perfecto Repository -->
<repository>
    <id>perfectomobile</id>
    <name>Perfecto mobile</name>
    <url>https://repo1.perfectomobile.com/public/repositories/maven</url>
</repository>

<!-- Reporting SDK -->
<dependency>
    <groupId>com.perfecto.reporting-sdk</groupId>
    <artifactId>reportium-java</artifactId>
    <version>${reportium-sdk.version}</version>
    <exclusion>
       <groupId>org.seleniumhq.selenium</groupId>
       <artifactId>selenium-api</artifactId>
    </exclusion>
</dependency>

<!-- Reporting SDK addition for Allure users -->
<dependency>
    <groupId>com.perfecto.reporting-sdk</groupId>
    <artifactId>reportium-allure-integration</artifactId>
    <version>${reportium-sdk.version}</version>
</dependency>

...

  • Perfecto’s SDK download repository  URL
  • Define the SDK version in the reportium-sdk.version (supply the version number of the SDK that you  varaibleyou have available).
  • Add the dependencies on creating the Reporting SDK jar.
Code Block
languagegroovy
themeMidnight
// Perfecto's artifact repository
repositories {
    maven {
        url 'https://repo1.perfectomobile.com/public/repositories/maven'
    }
}

// definition of the Reporting-SDK version
def reportium-sdk.version = 12.3.1.10		// supply correct version number

dependencies {
   // Reportium SDK
    compile "com.perfecto.reporting-sdk:reportium-java:$reportium-sdk.version"
    // Reportium SDK addition for Allure users
    compile "com.perfecto.reporting-sdk:reportium-allure-integration:$reportium-sdk.version"
}

...