-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
64 lines (55 loc) · 1.97 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
plugins {
// Build a distribution without a Class-Path definition in the distribution's java-examples-X.X.X.jar file.
// A bash script will be used to create runnable jars from the Java bot examples in java-examples-X.X.X.jar
id 'application'
id 'com.google.protobuf' version '0.8.16'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
group 'bisq'
version '0.0.1-SNAPSHOT'
apply plugin: 'com.google.protobuf'
dependencies {
compileOnly 'javax.annotation:javax.annotation-api:1.2'
implementation 'com.google.protobuf:protobuf-java:3.19.4'
implementation 'io.grpc:grpc-protobuf:1.42.1'
implementation 'io.grpc:grpc-core:1.42.1'
implementation 'io.grpc:grpc-stub:1.42.1'
implementation 'io.grpc:grpc-auth:1.42.1'
runtimeOnly 'io.grpc:grpc-netty-shaded:1.42.1'
implementation 'net.sf.jopt-simple:jopt-simple:5.0.4'
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.google.protobuf:protobuf-java:3.12.4'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'ch.qos.logback:logback-classic:1.1.11'
implementation 'ch.qos.logback:logback-core:1.1.11'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
compileOnly 'org.projectlombok:lombok:1.18.22'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
}
sourceSets.main.java.srcDirs += [
'build/generated/source/main/java',
'build/generated/source/main/grpc'
]
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.19.4'
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.41.2'
}
}
generateProtoTasks {
all()*.plugins { grpc {} }
}
generatedFilesBaseDir = "$projectDir/build/generated/source"
}
test {
useJUnitPlatform()
}