Skip to content
Snippets Groups Projects
Commit db70f079 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update gradle

parent a339c982
No related branches found
No related tags found
1 merge request!2Basin Term Service
......@@ -2,6 +2,7 @@
plugins {
id 'war'
id 'eclipse-wtp'
id 'jacoco'
}
sourceCompatibility = 1.8
......@@ -12,7 +13,11 @@ repositories {
}
dependencies {
runtimeOnly 'org.apache.tomcat:tomcat-catalina:8.0.45'
implementation 'org.apache.tomcat:tomcat-catalina:8.0.45'
compile project(':nshmp-lib')
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:3.+"
}
sourceSets {
......@@ -22,9 +27,39 @@ sourceSets {
}
resources {
srcDirs = ['src', '../nshm-fault-sections']
include '**/*.geojson'
srcDirs = ['src']
exclude '**/*.java'
}
}
test {
java {
srcDirs = ['test']
}
resources {
srcDirs = ['test']
exclude '**/*.java'
}
}
}
test {
reports {
junitXml.enabled = true
html.enabled = true
}
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
check.dependsOn jacocoTestReport
war {
webAppDirName = 'webapp'
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment