-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
107 lines (76 loc) · 2.73 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
plugins {
id 'java'
id 'war'
}
group = 'com.backend'
version = '1.0'
jar {
archiveBaseName.set('rest')
archiveVersion.set('')
from('src/main/resources') {
include 'beans.xml'
into 'META-INF'
}
}
war {
archiveBaseName.set('rest')
archiveVersion.set('')
destinationDirectory = file("C:\\tomcat\\webapps")
}
repositories {
mavenCentral()
}
dependencies {
implementation files('build/libs/rest.jar')
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
// Log4j
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.22.0'
// SLF4J Binder
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.22.0'
// HikariCP
implementation 'com.zaxxer:HikariCP:4.0.3'
// Apache Commons
implementation 'org.apache.commons:commons-dbcp2:2.11.0'
// Jackson Annotations
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.16.0'
// MySQL Connector
implementation 'com.mysql:mysql-connector-j:8.2.0'
// Jakarta Servlet API (compileOnly)
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
// Jakarta WS-RS API
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:3.1.0'
// Jakarta Inject API
implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
// Jersey Client
implementation 'org.glassfish.jersey.core:jersey-client:3.1.4'
// Jersey Container Servlet
implementation 'org.glassfish.jersey.containers:jersey-container-servlet:3.1.3'
// Jersey Bean Validation
implementation 'org.glassfish.jersey.ext:jersey-bean-validation:3.1.3'
// Jersey JSON Jackson
implementation 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.3'
// Jersey Media JAXB
implementation 'org.glassfish.jersey.media:jersey-media-jaxb:3.1.3'
// Jersey Media Multipart
implementation 'org.glassfish.jersey.media:jersey-media-multipart:3.1.3'
// Jersey CDI 1.x
implementation 'org.glassfish.jersey.ext.cdi:jersey-cdi1x:3.1.3'
// Jersey HK2
implementation 'org.glassfish.jersey.inject:jersey-hk2:3.1.3'
// Jakarta JSON API
implementation 'jakarta.json:jakarta.json-api:2.1.2'
// Jersey CDI 1.x Servlet
implementation 'org.glassfish.jersey.ext.cdi:jersey-cdi1x-servlet:3.1.3'
// Hibernate Validator
implementation 'org.hibernate.validator:hibernate-validator:7.0.5.Final'
// Weld Servlet Shaded
implementation 'org.jboss.weld.servlet:weld-servlet-shaded:4.0.3.Final'
// Jakarta XML Bind API
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:3.0.1'
// JAXB Runtime
implementation 'org.glassfish.jaxb:jaxb-runtime:3.0.2'
}
test {
useJUnitPlatform()
}