forked from golsung/ci-cd-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (47 loc) · 1.54 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.9'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'cloud.ez2learn'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation group: 'org.webjars', name: 'jquery', version: '2.2.4'
implementation group: 'org.webjars', name: 'bootstrap', version: '3.3.7'
implementation 'org.seleniumhq.selenium:selenium-java:4.1.2'
implementation 'io.github.bonigarcia:webdrivermanager:5.3.0'
}
jar {
enabled = false
}
task e2eTest(type: Test) {
include '**/e2eTests/**'
exclude '**/apiTests/**'
exclude '**/unitTests/**'
systemProperty "calculator.url", System.getProperty("calculator.url")
useJUnitPlatform()
}
task apiTest(type: Test) {
include '**/apiTests/**'
exclude '**/e2eTests/**'
exclude '**/unitTests/**'
systemProperty "calculator.url", System.getProperty("calculator.url")
useJUnitPlatform()
}
task unitTest(type: Test) {
exclude '**/apiTests/**'
exclude '**/e2eTests/**'
include '**/unitTests/**'
systemProperty "calculator.url", System.getProperty("calculator.url")
useJUnitPlatform()
}