-
Notifications
You must be signed in to change notification settings - Fork 61
/
build.gradle
60 lines (43 loc) · 1.57 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
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.6
targetCompatibility = 1.6
ext.openMrsVersion = '1.9.2'
version = '1.0.1'
configurations {
releaseJars
releaseJars.exclude group: 'org.slf4j'
compile.exclude module: 'jms'
compile.exclude module: 'jmxtools'
compile.exclude module: 'jmxri'
}
repositories {
mavenCentral()
maven {
url 'http://mavenrepo.openmrs.org/nexus/content/repositories/public'
}
}
dependencies {
compile 'net.sf.dozer:dozer:5.4.0'
compile "org.openmrs.api:openmrs-api:${openMrsVersion}"
compile "org.openmrs.web:openmrs-web:${openMrsVersion}"
testCompile "org.openmrs.api:openmrs-api:${openMrsVersion}:tests"
testCompile "org.openmrs.web:openmrs-web:${openMrsVersion}:tests"
testCompile "org.openmrs.test:openmrs-test:${openMrsVersion}"
testCompile 'junit:junit:4.11'
testCompile "org.powermock:powermock-module-junit4-rule-agent:1.5.1"
releaseJars 'org.apache.httpcomponents:httpclient:4.2.3'
releaseJars 'com.google.guava:guava:13.0.1'
releaseJars 'joda-time:joda-time:2.2'
releaseJars 'net.sf.dozer:dozer:5.4.0'
}
// required for testing on Java 7
// source: http://chrononsystems.com/blog/java-7-design-flaw-leads-to-huge-backward-step-for-the-jvm.
test {
jvmArgs '-XX:-UseSplitVerifier'
}
}
defaultTasks 'conceptpropose:createOmod', 'conceptreview:createOmod'
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}