-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
36 lines (31 loc) · 987 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
plugins {
id 'java'
}
group 'com.passkit.grpc'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
def passkitSdkVersion = '1.1.97'
// Be careful to match grpc versions with netty.
// See https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty
def grpcVersion = '1.38.0'
def nettyTcNativeVersion = '2.0.34.Final'
test {
useJUnit()
maxHeapSize = '1G'
testLogging {
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
dependencies {
implementation "com.passkit.grpc:sdk:${passkitSdkVersion}"
implementation "io.grpc:grpc-all:${grpcVersion}"
implementation "io.grpc:grpc-netty:${grpcVersion}"
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
implementation "io.grpc:grpc-stub:${grpcVersion}"
implementation "io.grpc:grpc-testing:${grpcVersion}"
runtimeOnly "io.netty:netty-tcnative-boringssl-static:${nettyTcNativeVersion}"
testCompileOnly group: 'junit', name: 'junit', version: '4.12'
}