Skip to content

Commit

Permalink
Use webdriver-binaries plugin to simple project
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo committed Feb 14, 2018
1 parent c48e229 commit 9865aa1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
4 changes: 1 addition & 3 deletions examples/extended/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ buildscript {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails.plugins:hibernate5:${gormVersion-".RELEASE"}"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:${assetPipelineVersion}"
classpath "gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:1.2"
classpath "gradle.plugin.com.energizedwork:idea-gradle-plugins:1.4"
classpath "gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:1.4"
}
}

Expand All @@ -20,7 +19,6 @@ apply plugin:"idea"
apply plugin:"war"
apply plugin:"org.grails.grails-web"
apply plugin:"com.energizedwork.webdriver-binaries"
apply plugin:"com.energizedwork.idea-project-components"
apply plugin: "com.bertramlabs.asset-pipeline"
apply plugin:"org.grails.grails-gsp"

Expand Down
21 changes: 14 additions & 7 deletions examples/simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails.plugins:hibernate5:${gormVersion-".RELEASE"}"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:$assetPipelineVersion"
classpath "gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:1.4"
}
}

Expand All @@ -17,6 +18,7 @@ apply plugin:"eclipse"
apply plugin:"idea"
apply plugin:"war"
apply plugin:"org.grails.grails-web"
apply plugin:"com.energizedwork.webdriver-binaries"
apply plugin: "com.bertramlabs.asset-pipeline"
apply plugin:"org.grails.grails-gsp"

Expand Down Expand Up @@ -53,23 +55,28 @@ dependencies {
runtime "org.apache.tomcat:tomcat-jdbc"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:$assetPipelineVersion"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.grails.plugins:geb"
testCompile "org.grails:grails-web-testing-support"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"

testCompile "com.codeborne:phantomjsdriver:1.3.0"
testRuntime "org.seleniumhq.selenium:selenium-support:2.53.1"
testCompile "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testCompile "org.seleniumhq.selenium:selenium-firefox-driver:2.53.1"
testCompile "org.seleniumhq.selenium:selenium-chrome-driver:2.53.1"
testCompile("org.grails.plugins:geb") {
exclude group: 'org.gebish', module: 'geb-spock'
}
testCompile 'org.gebish:geb-spock:2.1'
testCompile "org.seleniumhq.selenium:selenium-chrome-driver:3.6.0"
testCompile "org.seleniumhq.selenium:selenium-remote-driver:3.6.0"
testCompile "org.seleniumhq.selenium:selenium-api:3.6.0"

compile 'dumbster:dumbster:1.6', { transitive = false }
compile "org.grails.plugins:mail:$mailVesion"

compile project(":spring-security-ui")
}

webdriverBinaries {
chromedriver '2.32'
geckodriver '0.18.0'
}

bootRun {
jvmArgs('-Dspring.output.ansi.enabled=always')
addResources = true
Expand Down

0 comments on commit 9865aa1

Please sign in to comment.