diff --git a/examples/extended/build.gradle b/examples/extended/build.gradle index d9fc2119..7c959268 100644 --- a/examples/extended/build.gradle +++ b/examples/extended/build.gradle @@ -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" } } @@ -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" diff --git a/examples/simple/build.gradle b/examples/simple/build.gradle index e3a6a9ed..7f1b9ab0 100644 --- a/examples/simple/build.gradle +++ b/examples/simple/build.gradle @@ -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" } } @@ -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" @@ -53,16 +55,16 @@ 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" @@ -70,6 +72,11 @@ dependencies { compile project(":spring-security-ui") } +webdriverBinaries { + chromedriver '2.32' + geckodriver '0.18.0' +} + bootRun { jvmArgs('-Dspring.output.ansi.enabled=always') addResources = true