-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (40 loc) · 1.16 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
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
version = '1.5.5'
ext {
springVersion = "4.1.5.RELEASE"
}
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
flatDir { dirs 'lib' }
}
dependencies {
compile name: 'brickhouse', version: '1.5.5'
compile group: 'commons-codec', name: 'commons-codec', version: '1.3'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.4'
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.4'
compile name: 'serotonin-json', version: '2.0.8'
compile name: 'serotonin-utils', version: '2.1.8'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}