-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (37 loc) · 899 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
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.4',
'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.17',
'org.json:json:20220924'
compileOnly \
'javax:javaee-api:7.0'
}
war {
archiveName 'altoromutual.war'
exclude 'WEB-INF/classes/**/*.class'
exclude 'WEB-INF/lib/**/*.jar'
}