-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (84 loc) · 2.43 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
plugins {
id 'java'
id 'war'
id 'application'
id "io.freefair.lombok"
id 'org.springframework.boot'
id 'io.spring.dependency-management'
id 'com.github.johnrengelman.shadow'
}
sourceCompatibility = '17'
targetCompatibility = '17'
sourceSets {
main {
java {
srcDir 'src/main/java' // assuming 'src/main/java' is your main source folder
include 'project4/**' // include only the files in the 'project4' folder
}
resources {
srcDirs 'src/main/resources'
}
}
test {
java {
srcDirs 'src/test/java'
}
resources {
srcDirs 'src/test/resources'
}
}
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:_'
implementation 'javax.servlet:javax.servlet-api:_'
implementation 'io.swagger:swagger-java-client:_'
implementation 'org.apache.logging.log4j:log4j-api:_'
implementation 'org.apache.logging.log4j:log4j-core:_'
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.rabbitmq:amqp-client:_'
implementation 'software.amazon.awssdk:dynamodb:_'
implementation 'redis.clients:jedis:4.2.3'
}
war {
webAppDirName = 'src/main/webapp'
}
application {
mainClassName = 'project4.server.consumers.Driver'
}
task runP2Client(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project2.client.Driver'
}
task runP2Consumer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project2.serverbackendconsumer.Driver'
}
task runP3Client(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project3.client.Driver'
}
task runP3Consumer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project3.server.consumers.Driver'
}
task runP4Client(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project4.client.Driver'
}
task runP4Consumer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'project4.server.consumers.Driver'
}
bootJar {
archiveBaseName = 'sbwebapp'
version = '0.0.1'
}
processResources {
duplicatesStrategy = DuplicatesStrategy.INCLUDE // or choose another strategy
}