-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (32 loc) · 1.19 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
plugins {
id 'java'
id 'application'
}
group = 'kitra'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// MySQL 数据库驱动
// https://mvnrepository.com/artifact/com.mysql/mysql-connector
implementation group: 'com.mysql', name: 'mysql-connector-j', version: '8.3.0'
// MyBatis 数据库框架
// https://mvnrepository.com/artifact/org.mybatis/mybatis
implementation group: 'org.mybatis', name: 'mybatis', version: '3.5.16'
// Apache Commons Lang 反射工具库
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
// Apache Commons Codec 提供加密算法
// https://mvnrepository.com/artifact/commons-codec/commons-codec
implementation group: 'commons-codec', name: 'commons-codec', version: '1.17.1'
// EasyExcel 操作Excel表格
// https://mvnrepository.com/artifact/com.alibaba/easyexcel
implementation group: 'com.alibaba', name: 'easyexcel', version: '4.0.3'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
application {
mainClass = 'kitra.employeetraining.Main'
}