-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (58 loc) · 2.63 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
apply plugin: 'idea'
idea {
project {
vcs = 'git'
jdkName = '1.8'
languageLevel = '1.8'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
def localEnv = new Properties();
localEnv.load(new FileInputStream(file("${projectDir}/../env/local.properties")))
repositories {
mavenCentral()
}
checkstyle {
configFile file("${project.projectDir}/../config/checkstyle/checkstyle.xml")
}
pmd {
toolVersion = '5.0.5'
ruleSetFiles = files("${project.projectDir}/../config/pmd/rulesets.xml")
}
test {
environment localEnv
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}
ext.libraries = [
apache_log4j_core : "org.apache.logging.log4j:log4j-core:2.6.2",
spark_core : "com.sparkjava:spark-core:2.5",
cassandra_driver_core : "com.datastax.cassandra:cassandra-driver-core:3.0.3",
cassandra_driver_mapping : "com.datastax.cassandra:cassandra-driver-mapping:3.0.3",
cassandra_all : "org.apache.cassandra:cassandra-all:2.1.0",
apache_collections : "org.apache.commons:commons-collections4:4.0",
apache_lang : "org.apache.commons:commons-lang3:3.3.2",
hapi_fhir_base : "ca.uhn.hapi.fhir:hapi-fhir-base:1.5",
hapi_fhir_structures : "ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2:1.5",
hapi_fhir_validation : "ca.uhn.hapi.fhir:hapi-fhir-validation-resources-dstu2:1.5",
hapi_fhir_structures_hl7 : 'ca.uhn.hapi.fhir:hapi-fhir-structures-hl7org-dstu2:1.5',
jackson_core : "com.fasterxml.jackson.core:jackson-core:2.8.1",
jackson_annotations : "com.fasterxml.jackson.core:jackson-annotations:2.8.1",
jackson_databind : "com.fasterxml.jackson.core:jackson-databind:2.8.1",
hector_core : "me.prettyprint:hector-core:1.0-5",
ehcache_core : "org.ehcache:ehcache:3.1.3"
]
ext.testLibraries = [
junit : "junit:junit:4.10",
mockito : "org.mockito:mockito-all:1.8.4",
wiremock : "com.github.tomakehurst:wiremock:1.58",
mutagen : "com.toddfast.mutagen:mutagen:0.3.0",
mutagen_cassandra : "com.toddfast.mutagen:mutagen-cassandra-0.4.2-SNAPSHOT",
cassandra_unit : "org.cassandraunit:cassandra-unit:2.0.2.2",
system_rules : "com.github.stefanbirkner:system-rules:1.16.0",
]