-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.35 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
plugins {
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
// id 'org.springframework.boot.experimental.thin-launcher' version "1.0.31.RELEASE"
id 'java'
id 'groovy'
}
apply plugin: 'groovy'
apply plugin: 'java-library'
//apply plugin: 'org.springframework.boot.experimental.thin-launcher'
group = 'org.yasz'
version = '1.3'
repositories {
mavenCentral()
}
jar {
manifest {
attributes(
'Start-Class': 'org.yasz.praiseslowly.PraiseslowlyApplication',
'Main-Class': 'org.yasz.praiseslowly.PraiseslowlyApplication'
)
}
}
dependencies {
implementation "praise.site:helper"
implementation('javassist:javassist:3.9.0.GA')
implementation 'org.springframework.boot:spring-boot-starter'
implementation ('org.springframework.boot:spring-boot-starter-jdbc')
implementation('com.zaxxer:HikariCP:4.0.1')
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation "org.springframework.boot:spring-boot-devtools"
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation ('org.springframework.boot:spring-boot-starter-test'){exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'}
}
tasks.withType(JavaCompile) {
options.fork = true
options.forkOptions.with {
jvmArgs = ['-Dfile.encoding=UTF-8']
}
options.encoding = "GBK"
}