-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
100 lines (86 loc) · 3.17 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.20'
id "org.jetbrains.kotlin.plugin.spring" version '1.3.20'
id "org.jetbrains.kotlin.plugin.jpa" version '1.3.20'
}
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: "kotlin-spring"
apply plugin: "kotlin-jpa"
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: "war"
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
println "repo locating"
mavenLocal()
mavenCentral()
println "repo located"
}
configurations {
provided
}
sourceSets {
main.compileClasspath += configurations.provided
test.compileClasspath += configurations.provided
test.runtimeClasspath += configurations.provided
}
war {
baseName = 'Core-Xapp'
}
dependencies {
def spring_ver = "4.3.20.RELEASE"
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.3.20',
'com.google.guava:guava:18.0'
compile("cglib:cglib:3.2.2") {
exclude group: "org.ow2.asm"
exclude group: "org.apache.ant"
exclude group: "junit"
}
compile "org.objenesis:objenesis:2.3",
"org.ow2.asm:asm:5.1",
"aopalliance:aopalliance:1.0",
"org.aspectj:aspectjweaver:1.8.6",
"org.springframework:spring-core:${spring_ver}",
"org.springframework:spring-orm:${spring_ver}",
"org.springframework:spring-jdbc:${spring_ver}",
"org.springframework:spring-tx:${spring_ver}",
"org.springframework:spring-context:${spring_ver}",
"org.springframework:spring-aop:${spring_ver}",
"org.springframework:spring-test:${spring_ver}",
"org.springframework:spring-webmvc:${spring_ver}",
'junit:junit:4.11',
"com.google.code.gson:gson:2.6.1",
"commons-logging:commons-logging:1.1.3",
"org.slf4j:slf4j-api:1.7.5",
"org.slf4j:slf4j-log4j12:1.7.5",
'org.apache.poi:poi:3.15',
'org.apache.poi:poi-ooxml:3.15',
'org.apache.poi:poi-ooxml-schemas:3.15'
provided "javax.servlet:servlet-api:2.5"
provided "javax.servlet.jsp:jsp-api:2.1"
compile("org.quartz-scheduler:quartz:2.2.1") {
exclude group: "c3p0"
}
compile("org.apache.commons:commons-dbcp2:2.1.1") {
exclude group: "junit"
exclude group: "tomcat"
exclude group: "org.apache.geronimo.modules"
}
compile "mysql:mysql-connector-java:5.1.40"
compile("org.mvel:mvel2:2.2.8.Final") {
exclude group: "junit"
exclude module: "xstream"
}
compile("org.apache.httpcomponents:httpclient:4.5.2") {
exclude module: "commons-logging"
}
compile "org.projectlombok:lombok:1.16.10",
"org.jack:crawler-common:1.2-SNAPSHOT"
}
test.includes = ['org/**']
}