-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
52 lines (45 loc) · 2.05 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
plugins {
id 'org.springframework.boot' version '2.7.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
// id 'war'
}
group = 'flab'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-validation'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-mail'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-cache'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '3.0.6'
implementation group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.2.2'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis'
implementation group: 'org.bgee.log4jdbc-log4j2', name: 'log4jdbc-log4j2-jdbc4.1', version: '1.16'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
runtimeOnly 'com.h2database:h2'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor group: 'org.springframework.boot', name: 'spring-boot-configuration-processor'
// providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation group: 'com.h2database', name: 'h2', version: '1.4.200'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
//Build FileName Change app.jar
bootJar {
archiveFileName = 'app.jar'
}
tasks.named('test') {
useJUnitPlatform()
}
//No-Create plain.jar
jar {
enabled(false)
}