-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.14 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
apply plugin: 'java'
repositories {
maven{
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
subprojects {
group 'top.starcatmeow'
version '2.1-release'
apply plugin: 'java'
repositories {
maven{
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
}
allprojects {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
dependencies{
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.11'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.5'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
task SyncJar(type: Sync) {
from('EncryptedChatClient/build/libs')
from('EncryptedChatServer/build/libs')
into 'build/libs'
}
task removeJar(type: Delete) {
delete('build')
}