-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (53 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
56
57
58
59
60
61
62
63
plugins {
id 'org.springframework.boot' version '2.7.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
plugins{
id 'com.bmuschko.docker-remote-api' version '7.4.0'
}
group = 'mon'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
bootJar {
archiveFileName = "ensyu-end.jar"
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
enabled = false
manifest {
attributes('Main-Class': 'mon.EnsyuApplication')
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
packageRootName="mon"
springVersion="2.7.0"
domaVersion="2.51.1"
mysqlVersion="8.0.29"
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-thymeleaf:${springVersion}"
implementation "org.springframework.boot:spring-boot-starter-web:${springVersion}"
implementation "org.springframework.boot:spring-boot-starter-validation:${springVersion}"
implementation "org.springframework.boot:spring-boot-devtools:${springVersion}"
implementation "mysql:mysql-connector-java:${mysqlVersion}"
implementation "org.springframework.boot:spring-boot-starter-jdbc:${springVersion}"
testImplementation "org.springframework.boot:spring-boot-starter-test:${springVersion}"
/* testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}}*/
}
tasks.named('test') {
useJUnitPlatform()
}
apply from: "doma.gradle"
apply from: "eclipse.gradle"