-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
122 lines (100 loc) · 3 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
version = '1.0'
repositories {
// mavenLocal()
mavenCentral()
}
dependencies {
compile "org.springframework:spring-core:4.1.0.RELEASE"
compile "org.springframework:spring-context:4.1.0.RELEASE"
compile "org.springframework:spring-beans:4.1.0.RELEASE"
compile "org.springframework:spring-web:4.1.0.RELEASE"
compile "javax.servlet:javax.servlet-api:3.1.0"
compile "xerces:xercesImpl:2.11.0"
// compile "org.mortbay.jetty:jetty:6.1.26"
compile "org.eclipse.jetty:jetty-webapp:9.2.5.v20141112"
compile "rhino:js:1.7R2"
compile "org.apache.commons:commons-lang3:3.3.2"
compile "log4j:log4j:1.2.17"
compile "commons-logging:commons-logging:1.1.3"
compile "org.apache.httpcomponents:httpclient:4.3.5"
compile "com.intellij:annotations:12.0"
// compile "::"
testCompile "junit:junit:4.11"
testCompile "org.springframework:spring-test:4.1.0.RELEASE"
}
test {
workingDir = "${project.projectDir}/../"
}
task copyToLib(type: Copy) {
into "$buildDir/libs"
from configurations.runtime
}
}
project(':xfresh-core') {
apply plugin: 'maven-publish'
dependencies {
compile "xalan:xalan:2.7.1"
compile "net.sf.saxon:Saxon-HE:9.6.0-1"
}
publishing {
publications {
maven(MavenPublication) {
groupId 'xfresh'
artifactId 'xfresh-core'
version '1.0'
from components.java
}
}
}
}
project(':xfresh-db') {
apply plugin: 'maven-publish'
dependencies {
compile(project(":xfresh-core"))
// compile "org.springframework:spring-dao:4.1.0.RELEASE"
compile "org.springframework:spring-jdbc:4.1.0.RELEASE"
// compile "org.springframework:spring-support:4.1.0.RELEASE"
compile "org.apache.commons:commons-pool2:2.2"
compile "org.apache.commons:commons-dbcp2:2.0.1"
compile "org.apache.commons:commons-collections4:4.0"
}
publishing {
publications {
maven(MavenPublication) {
groupId 'xfresh'
artifactId 'xfresh-db'
version '1.0'
from components.java
}
}
}
}
project(':xfresh-server') {
dependencies {
compile(project(":xfresh-core"))
}
}
project(':xfresh-basket-example') {
dependencies {
compile(project(":xfresh-core"))
}
task copyScripts(type: Copy) {
into "$buildDir"
from "src/main/scripts"
}
task copyWebapp(type: Copy) {
into "$buildDir/view"
from "src/main/webapp"
}
build.dependsOn copyToLib, copyScripts, copyWebapp
}
project(':xfresh-auth') {
apply plugin: 'maven-publish'
dependencies {
compile(project(":xfresh-db"))
compile "com.h2database:h2:1.4.182"
}
}