-
Notifications
You must be signed in to change notification settings - Fork 84
/
build.gradle
56 lines (43 loc) · 1.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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.5.0',
'com.bmuschko:gradle-tomcat-plugin:2.2.2'
}
}
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'pmd'
apply plugin: 'findbugs'
apply plugin: 'com.bmuschko.tomcat'
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
group = 'org.mifostools'
repositories {
mavenCentral()
}
configurations {
providedCompile
compile
runtime
}
compileJava.dependsOn(pmdMain)
dependencies {
def tomcatVersion = '7.0.42'
tomcat "org.apache.tomcat.embed:tomcat-embed-core:7.0.42",
"org.apache.tomcat.embed:tomcat-embed-logging-juli:7.0.42",
"org.apache.tomcat.embed:tomcat-embed-jasper:7.0.42"
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'com.google.code.gson:gson:2.2.4',
'org.apache.poi:poi:3.9'
testCompile 'junit:junit:4.11',
'org.mockito:mockito-all:1.9.5'
}
tomcatRunWar {
httpPort = 8070
httpsPort = 8433
stopPort = 8071
}