-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
42 lines (35 loc) · 1.18 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
plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
id 'war'
}
group 'com.kov'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
ext {
springVersion = '5.2.2.RELEASE'
}
dependencies {
// ______________________________________________________________________________________________________________
implementation 'org.springframework.boot:spring-boot-starter-web'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
// ______________________________________________________________________________________________________________
compile(
'junit:junit:3.8.1',
"org.springframework:spring-context-support:$springVersion",
'org.freemarker:freemarker:2.3.23',
'org.springframework:spring-jdbc:4.3.10.RELEASE',
'mysql:mysql-connector-java:8.0.13'
)
}
war {
archiveName 'Root.war'
}