-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle.kts
34 lines (27 loc) · 1.04 KB
/
build.gradle.kts
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
val coroutinesVersion: String by project
val grpcVersion: String by project
val grpcKotlinVersion: String by project
val protobufVersion: String by project
val arrowVersion: String by project
val sentinelVersion: String by project
plugins {
`java-test-fixtures`
}
dependencies {
// Grpc `io.grpc:grpc-all` has grpc-auth, grpc-alts, grpc-protobuf, grpc-xds ...
runtimeOnly(libs.grpc.netty)
implementation(libs.grpc.protobuf)
// implementation(libs.grpc.stub) // For Java
implementation(libs.grpc.kotlin.stub) // For Kotlin
implementation(libs.bundles.kotlinx.coroutines)
// Protobuf - If you want to use features like protobuf JsonFormat, `protobuf-java-util` instead of `protobuf-java`
implementation(libs.protobuf.java)
// Google
implementation(libs.guava)
// Resilience frameworks
implementation(libs.sentinel.grpc.adapter)
// implementation(libs.concurrency.limits.grpc)
// Test
testImplementation(testFixtures(projects.libs.test))
}
affectedTestConfiguration { jvmTestTask = "check" }