Skip to content

Instantly share code, notes, and snippets.

@automationhacks
Created March 1, 2020 16:55
Show Gist options
  • Save automationhacks/4c58cb3c7054af57f4c52400368bfc3d to your computer and use it in GitHub Desktop.
Save automationhacks/4c58cb3c7054af57f4c52400368bfc3d to your computer and use it in GitHub Desktop.
Vanilla report portal setup
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
}
...
sourceCompatibility = 1.8
repositories {
maven { url "http://dl.bintray.com/epam/reportportal" }
mavenCentral()
}
task runTests(type: Test) {
useTestNG {
testLogging.showStandardStreams = true
useDefaultListeners = false
listeners << 'com.epam.reportportal.testng.ReportPortalTestNGListener'
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile group: 'com.epam.reportportal', name: 'agent-java-testng', version: '4.2.3'
testCompile group: 'org.testng', name: 'testng', version: '7.1.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment