-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (59 loc) · 2.14 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
apply plugin: 'java'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenLocal()
}
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
}
brokerSimpleClient {
java {
srcDirs = ['src/brokerSimpleClient/java']
}
}
brokerService {
java {
srcDirs = ['src/brokerService/java']
}
resources {
srcDirs = ["src/brokerService/resources"]
}
}
brokerConsumer {
java {
srcDirs = ['src/brokerConsumer/java']
}
resources {
srcDirs = ["src/brokerConsumer/resources"]
}
}
}
dependencies {
//implementations for main source set
implementation "org.slf4j:slf4j-simple:1.7.36"
implementation "org.projectlombok:lombok:1.18.22"
annotationProcessor "org.projectlombok:lombok:1.18.22"
// implementations for broker simple client
brokerSimpleClientImplementation "org.slf4j:slf4j-simple:1.7.36"
brokerSimpleClientImplementation "org.projectlombok:lombok:1.18.22"
brokerSimpleClientImplementation "com.alibaba.rsocket:alibaba-rsocket-core:1.1.3"
brokerSimpleClientAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
// implementations for broker service
brokerServiceImplementation platform('org.springframework.boot:spring-boot-dependencies:2.6.6')
brokerServiceImplementation 'io.netty:netty-transport-native-unix-common:4.1.75.Final'
brokerServiceImplementation 'org.springframework.boot:spring-boot-starter-webflux'
brokerServiceImplementation 'org.springframework.boot:spring-boot-starter-actuator'
brokerServiceImplementation 'com.alibaba.rsocket:alibaba-rsocket-spring-boot-starter:1.1.3'
// implementations for broker consumer
brokerConsumerImplementation platform('org.springframework.boot:spring-boot-dependencies:2.6.6')
brokerConsumerImplementation 'io.netty:netty-transport-native-unix-common:4.1.75.Final'
brokerConsumerImplementation 'org.springframework.boot:spring-boot-starter-webflux'
brokerConsumerImplementation 'org.springframework.boot:spring-boot-starter-actuator'
brokerConsumerImplementation 'com.alibaba.rsocket:alibaba-rsocket-spring-boot-starter:1.1.3'
}