-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
executable file
·82 lines (64 loc) · 2.04 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
group 'com.cheung'
version '1.7.0.Final'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'http:https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http:https://central.maven.org/maven2/' }
maven { url 'http:https://repo.spring.io/libs-milestone/' }
maven { url 'https://repo.spring.io/libs-release/' }
}
dependencies {
compile 'io.netty:netty-all:4.1.45.Final'
compile 'commons-logging:commons-logging:1.2'
compile 'com.thoughtworks.xstream:xstream:1.4.8'
compile 'xmlpull:xmlpull:1.1.3.1'
compile 'commons-io:commons-io:2.4'
compile 'org.codehaus.groovy:groovy-all:2.5.2'
compile 'jaxen:jaxen:1.1.6'
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.slf4j:jcl-over-slf4j:1.7.25'
compile 'com.google.guava:guava:17.0'
annotationProcessor 'org.projectlombok:lombok:1.18.2'
compileOnly 'org.projectlombok:lombok:1.18.2'
compile 'org.bouncycastle:bcprov-jdk15on:1.64'
compile 'org.springframework.boot:spring-boot-starter:1.5.13.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
compile 'org.apache.ant:ant:1.10.5'
compile 'javax.el:javax.el-api:3.0.0'
compile 'org.glassfish:javax.el:3.0.0'
compile 'org.apache.commons:commons-exec:1.3'
compile 'org.hibernate.validator:hibernate-validator:6.1.4.Final'
compile fileTree(dir: 'localLibs', include: ['*.jar'])
}
sourceSets {
main {
resources {
srcDirs = ["src/main/resources"]
}
}
}
task copyConfig(type: Copy) {
from sourceSets.main.resources.srcDirs
into('build/target/conf')
}
jar {
manifest {
// attributes 'Main-Class': 'com.rp.sip.Main'
// attributes 'Class-Path': './../conf/'
}
exclude '*.properties'
exclude '*.xml'
exclude '*.ss'
}
task copyJar(type: Copy) {
from configurations.runtime
into('build/target/lib')
}
task release(type: Copy, dependsOn: [build, copyJar, copyConfig])