Created
November 3, 2012 22:08
-
-
Save djangofan/4009046 to your computer and use it in GitHub Desktop.
Gradle build file for Selenium unit testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build.gradle file for Selenium testing | |
apply plugin: 'java' | |
apply plugin: 'eclipse' | |
sourceCompatibility = 1.6 | |
version = '1.0.0' | |
jar { | |
manifest { | |
attributes 'Implementation-Title': 'WebDriver On Gradle', 'Implementation-Version': version | |
} | |
} | |
repositories { | |
mavenCentral() | |
maven { | |
url "http://maven2.javacpp.googlecode.com/git/" | |
} | |
maven { | |
url "http://maven2.javacv.googlecode.com/git/" | |
} | |
} | |
dependencies { | |
// stored at: %HOMEPATH%\.gradle\caches\artifacts-14\filestore | |
compile group: 'org.sikuli', name: 'sikuli-api', version: '1.0.+' | |
compile group: 'commons-collections', name: 'commons-collections', version: '3.2' | |
testCompile group: 'junit', name: 'junit', version: '4.+' | |
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '2.+' | |
} | |
test { | |
systemProperties 'tests.browser': 'firefox' | |
} | |
uploadArchives { | |
repositories { | |
flatDir { | |
dirs 'repos' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment