forked from spinnaker/clouddriver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclouddriver-titus.gradle
More file actions
97 lines (85 loc) · 3.04 KB
/
clouddriver-titus.gradle
File metadata and controls
97 lines (85 loc) · 3.04 KB
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
apply plugin: "com.google.protobuf"
ext {
protobufVersion = '[3.2.0,)'
grpcVersion = '1.37.1'
}
dependencies {
protobuf 'com.netflix.titus:titus-api-definitions:0.0.1-rc71'
implementation project(":cats:cats-core")
implementation project(":clouddriver-api")
implementation project(":clouddriver-aws")
implementation project(":clouddriver-core")
implementation project(":clouddriver-eureka")
implementation project(":clouddriver-saga")
implementation project(":clouddriver-security")
annotationProcessor "org.projectlombok:lombok"
compileOnly "org.projectlombok:lombok"
testAnnotationProcessor "org.projectlombok:lombok"
implementation "javax.inject:javax.inject:1"
implementation "com.amazonaws:aws-java-sdk"
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
implementation "com.google.protobuf:protobuf-java-util:$protobufVersion"
implementation "com.netflix.frigga:frigga"
implementation "com.netflix.spectator:spectator-api"
implementation "io.spinnaker.fiat:fiat-api:$fiatVersion"
implementation "io.spinnaker.fiat:fiat-core:$fiatVersion"
implementation "io.spinnaker.kork:kork-artifacts"
implementation "io.spinnaker.kork:kork-core"
implementation "io.spinnaker.kork:kork-exceptions"
implementation "io.spinnaker.kork:kork-security"
implementation "io.spinnaker.kork:kork-moniker"
implementation "com.squareup.okhttp3:okhttp:3.1.2"
implementation "io.grpc:grpc-netty-shaded:$grpcVersion"
implementation "io.grpc:grpc-protobuf:$grpcVersion"
implementation "io.grpc:grpc-stub:$grpcVersion"
implementation "org.codehaus.groovy:groovy-all"
implementation "org.slf4j:slf4j-api"
implementation "org.springframework.boot:spring-boot-actuator"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.yaml:snakeyaml:1.24"
testImplementation "cglib:cglib-nodep"
testImplementation "junit:junit"
testImplementation "org.hamcrest:hamcrest-core"
testImplementation "org.objenesis:objenesis"
testImplementation "org.slf4j:slf4j-simple"
testImplementation "org.spockframework:spock-core"
testImplementation "org.spockframework:spock-spring"
testImplementation "org.springframework:spring-test"
testImplementation "io.spinnaker.kork:kork-test"
}
sourceSets {
main {
java {
srcDir "${protobuf.generatedFilesBaseDir}/main/grpc"
srcDir "${protobuf.generatedFilesBaseDir}/main/java"
}
}
}
task cleanGenerated(type: Delete) {
delete "$projectDir/src/generated"
}
clean.dependsOn cleanGenerated
protobuf {
protoc {
artifact = "com.google.protobuf:protoc:$protobufVersion"
}
plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:$grpcVersion"
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
javadoc {
exclude 'io/titanframework/**'
exclude 'com/netflix/titus/grpc/protogen/**'
}
def licenseExtension = project.extensions.findByName('license')
if (licenseExtension != null) {
licenseExtension.exclude('io/titanframework/**')
licenseExtension.exclude('com/netflix/titus/grpc/protogen/**')
}