-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
60 lines (47 loc) · 1.77 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.1.4'
}
group 'org.xstudio.plugin'
version '1.1.3'
sourceCompatibility = 1.8
repositories {
maven {
url "https://maven.aliyun.com/repository/public"
}
mavenCentral()
maven {
url "https://s01.oss.sonatype.org/content/groups/public/"
}
mavenLocal()
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
// database driver
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.11'
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.48'
// https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client
compile group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.6.0'
// dependencies for mybatis generator core
compile group: 'org.apache.ant', name: 'ant', version: '1.10.7'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.12.1'
compile group: 'io.github.xbeeant', name: 'code-generator', version: '1.0-SNAPSHOT'
compile group: 'io.github.xbeeant', name: 'java-merger', version: '1.0.0-SNAPSHOT'
testImplementation(platform('org.junit:junit-bom:5.7.0'))
testImplementation('org.junit.jupiter:junit-jupiter')
compile 'com.alibaba:fastjson:1.2.75'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
plugins = ["com.intellij.database:191.4212.27"]
// localPath "C:\\Program Files\\JetBrains\\IntelliJ IDEA 2020.1\\"
version = "IU-191.7141.44"
updateSinceUntilBuild = false
type = "IU"
}
// 指定编译的编码
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
buildSearchableOptions.enabled = false