Skip to content

Instantly share code, notes, and snippets.

@prule
Created April 20, 2017 10:45
Show Gist options
  • Save prule/9666b9413fe5412a2cd0e3a9d3c321f3 to your computer and use it in GitHub Desktop.
Save prule/9666b9413fe5412a2cd0e3a9d3c321f3 to your computer and use it in GitHub Desktop.
Serenity gradle build file
buildscript {
ext {
cucumberVersion = '1.2.5'
junitVersion = '4.12'
seleniumVersion = '2.53.1'
serenityVersion = '1.2.5-rc.6'
serenityCucumberVersion = '1.1.28'
}
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:$serenityVersion")
}
}
apply plugin: 'java'
apply plugin: 'net.serenity-bdd.aggregator'
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile 'org.seleniumhq.selenium:selenium-safari-driver:3.3.1'
compile 'org.seleniumhq.selenium:selenium-chrome-driver:3.3.1'
compile 'org.seleniumhq.selenium:selenium-firefox-driver:3.3.1'
compile "net.serenity-bdd:serenity-cucumber:$serenityCucumberVersion"
compile "net.serenity-bdd:serenity-core:$serenityVersion"
compile "net.serenity-bdd:serenity-junit:$serenityVersion"
compile "net.serenity-bdd:serenity-screenplay:$serenityVersion"
compile "net.serenity-bdd:serenity-screenplay-webdriver:$serenityVersion"
compile 'org.projectlombok:lombok:1.16.10'
compile 'org.assertj:assertj-core:3.6.0'
compile 'org.hamcrest:hamcrest-all:1.3'
compile 'com.googlecode.lambdaj:lambdaj:2.3.3'
testCompile "junit:junit:$junitVersion"
testCompile('org.slf4j:slf4j-simple:1.7.7')
}
repositories {
mavenCentral()
}
test {
testLogging.showStandardStreams = true
systemProperties System.getProperties()
}
gradle.startParameter.continueOnFailure = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment