-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
75 lines (63 loc) · 1.83 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// -*- Groovy -*-
// build.gradle
//
// Gradle build script for EC-Selenium plugin.
//
// Copyright (c) 2016 Electric Cloud, Inc.
// All rights reserved
buildscript {
repositories {
maven {
url 'https://nexus-internal.cloudbees.com/content/repositories/snapshots'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
maven {
url 'https://nexus-internal.cloudbees.com/content/groups/mirror'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
jcenter()
}
dependencies {
classpath group: 'com.electriccloud.plugins', name: 'flow-gradle-plugin', version: '+'
}
}
repositories {
mavenCentral()
maven {
url 'https://nexus-internal.cloudbees.com/content/groups/mirror'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
}
group = 'com.electriccloud'
description = 'Plugins : EC-Selenium'
version = '2.0.10'
apply plugin: 'flow-gradle-plugin'
apply plugin: 'license'
license {
header = file ('shortHeader.txt')
exclude "**/project.xml"
}
dependencies {
testCompile 'junit:junit:[4,)'
testCompile 'org.mockito:mockito-core:1.9.5'
}
test {
Properties props = new Properties()
systemProperties['COMMANDER_SERVER'] = "$commanderServer"
systemProperties['PLUGIN_VERSION'] = version
testLogging {
// Show that tests are run in the command-line output
events 'started', 'passed'
exceptionFormat = 'full'
}
}
task wrapper(type: Wrapper) { gradleVersion = '2.14' }