forked from selenide/selenide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (44 loc) · 1.08 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apply plugin: 'java'
apply plugin: 'maven'
group='com.codeborne'
archivesBaseName = 'selenide'
version='1.6-SNAPSHOT'
compileJava.options.debugOptions.debugLevel = "source,lines,vars"
sourceCompatibility = 1.5
targetCompatibility = 1.5
defaultTasks 'clean', 'libs', 'test', 'install'
repositories {
mavenCentral()
}
dependencies {
compile 'org.seleniumhq.selenium:selenium-java:2.25.0'
compile 'junit:junit:4.10'
compile 'org.hamcrest:hamcrest-all:1.3'
}
task libs(type: Sync) {
from configurations.compile
from configurations.runtime
into "$buildDir/lib"
}
test {
exclude 'com/codeborne/selenide/integrationtests/**'
testLogging.showStandardStreams = true
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn:javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives jar
archives sourcesJar
archives javadocJar
}
task wrapper(type: Wrapper) {
gradleVersion = '1.1'
jarFile = './gradle-wrapper/gradle-wrapper.jar'
scriptFile = './gradle'
}