-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
109 lines (76 loc) · 3.26 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
* This build file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/3.5/userguide/java_library_plugin.html
*/
// Apply the java-library plugin to add support for Java Library
apply plugin: 'groovy'
apply plugin: 'org.sonarqube'
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5"
}
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath.
//api 'org.apache.commons:commons-math3:3.6.1'
testCompile 'org.codehaus.groovy:groovy-all:2.4.7'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:21.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
testCompile 'org.apache.commons:commons-lang3:3.4'
testCompile 'commons-logging:commons-logging:1.2'
testCompile 'commons-logging:commons-logging:1.2'
testCompile 'com.phasebash.jackson:groovy-beans-with-jackson-immutables-module:1.0'
//testCompile group: 'com.oracle', name: 'ojdbc6', version: '11.2.0.2.0'
compile group: 'org.codehaus.groovy', name: 'groovy-sql', version: '2.1.1'
compile group: 'com.google.code.gson', name: 'gson', version: '2.2.1'
compile group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'
compile group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
compile group: 'org.codehaus.groovy.modules.http-builder', name: 'http-builder', version: '0.6'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.4'
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.1'
compile group: 'io.rest-assured', name: 'json-path', version: '3.0.1'
//compile group: 'oracle', name: 'ojdbc6', version: '11.2.0.4.0'
compile group: 'io.rest-assured', name: 'rest-assured', version: '3.0.1'
compile group: 'io.rest-assured', name: 'rest-assured-common', version: '3.0.1'
compile group: 'org.yaml', name: 'snakeyaml', version: '1.17'
compile group: 'org.spockframework', name: 'spock-core', version: '1.0-groovy-2.4'
compile group: 'io.rest-assured', name: 'xml-path', version: '3.0.1'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.11'
compile group: 'org.apache.poi', name: 'poi', version: '3.15'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.15'
}
/*test {
filter {
includeTestsMatching "*unitTest"
}
}*/
task run_simple_test(type : Test) {
dependsOn 'cleanTest'
filter {
includeTestsMatching "*unitTest"
}
}
task run_concurrent_test(type : Test) {
dependsOn 'cleanTest'
filter {
includeTestsMatching "*performanceTest"
}
}