This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (76 loc) · 2.31 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
buildscript {
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { setUrl("https://repo.spring.io/milestone") }
}
}
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
id 'com.vaadin' version '24.3.3'
id 'jacoco'
id 'info.solidsoft.pitest' version '1.15.0'
id "ua.eshepelyuk.ManifestClasspath" version "1.0.0"
}
group = 'edu.wsu.bean_582_2024'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_17
}
vaadin {
productionMode = true
}
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-addons") }
maven { setUrl("https://repo.spring.io/milestone") }
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
}
dependencies {
implementation 'com.vaadin:vaadin-spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.vaadin:vaadin-core:24.3.3'
implementation 'org.apache.commons:commons-lang3:3.14.0'
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.15.0'
runtimeOnly 'com.mysql:mysql-connector-j'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.seleniumhq.selenium:selenium-java:4.19.1'
testImplementation 'org.mockito:mockito-core:5.10.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.10.0'
testImplementation 'com.vaadin:vaadin-testbench'
testImplementation 'com.vaadin:vaadin-testbench-junit5'
testImplementation 'io.github.bonigarcia:selenium-jupiter:5.1.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly 'com.h2database:h2:2.2.224'
}
tasks.named('test') {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
finalizedBy jacocoTestReport
}
jacoco {
}
pitest {
pitestVersion = "1.14.4"
junit5PluginVersion = "1.2.1"
verbose = true
useClasspathJar = true
useClasspathFile = true
}
jacocoTestReport {
dependsOn test
}
task myJavadocs(type: Javadoc) {
source = sourceSets.main.allJava
}
dependencyManagement {
imports {
mavenBom "com.vaadin:vaadin-bom:24.3.3"
}
}