Skip to content

Commit

Permalink
download chromedriver automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
asolntsev committed Sep 17, 2015
1 parent 545d914 commit 6ce97a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
11 changes: 5 additions & 6 deletions build.gradle
@@ -1,10 +1,9 @@
buildscript {
repositories { jcenter() }
dependencies { classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.4' }
}

plugins {
id "de.undercouch.download" version "2.0.0"
dependencies {
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.4'
classpath 'de.undercouch:gradle-download-task:2.0.0'
}
}

apply plugin: 'java'
Expand Down Expand Up @@ -179,7 +178,7 @@ task downloadChromeDriverZip(type: Download) {
overwrite true
onlyIfNewer true
compress false
println "Download Chrome driver: " + src
println "Download Chrome driver: " + src + " to " + dest
}

task downloadAndUnzipChromeDriver(dependsOn: downloadChromeDriverZip, type: Copy) {
Expand Down
13 changes: 8 additions & 5 deletions deploy.gradle
@@ -1,13 +1,16 @@
buildscript {
repositories { jcenter() }
dependencies {
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.4'
classpath 'de.undercouch:gradle-download-task:2.0.0'
}
}

apply from: 'build.gradle'
apply plugin: 'signing'

defaultTasks 'clean', 'check', 'allTests', 'install', 'uploadArchives'

buildscript {
repositories { jcenter() }
dependencies { classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.4' }
}

signing {
sign configurations.archives
}
Expand Down

0 comments on commit 6ce97a4

Please sign in to comment.