forked from sebsnyk/AltoroJ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (40 loc) · 978 Bytes
/
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
apply plugin: 'war'
webAppDirName = 'WebContent'
sourceCompatibility = "1.7";
targetCompatibility = "1.7";
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['src']
}
}
}
dependencies {
implementation \
fileTree(dir: "${webAppDirName}/WEB-INF/lib", include: '*.jar'),
'commons-codec:commons-codec:1.6',
'commons-lang:commons-lang:2.5',
'com.hynnet:commons-lang3:3.3.2',
'org.apache.derby:derby:10.8.2.2',
'org.glassfish.jersey.core:jersey-server:2.27',
'org.glassfish.jersey.containers:jersey-container-servlet:2.27',
'org.glassfish.jersey.inject:jersey-hk2:2.27',
'log4j:log4j:1.2.16',
'org.apache.wink:wink-json4j:1.4'
// providedImplementation \
// 'javax:javaee-api:7.0'
}
dependencyLocking {
lockAllConfigurations()
}
war {
archiveName 'altoromutual.war'
exclude 'WEB-INF/classes/**/*.class'
exclude 'WEB-INF/lib/**/*.jar'
}