forked from bsideup/liiklus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
95 lines (75 loc) · 2.65 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
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.6.RELEASE")
}
}
plugins {
id "com.google.protobuf" version "0.8.9" apply false
}
allprojects {
repositories {
jcenter()
maven { url "https://repo.spring.io/milestone" }
maven { url 'https://jitpack.io' }
}
task downloadDependencies {
doLast {
configurations.all {
try {
it.files
} catch (e) {
project.logger.info(e.message)
}
}
}
}
}
configure(subprojects.findAll { !it.name.startsWith("examples/") }) {
apply plugin: 'io.spring.dependency-management'
apply plugin: 'maven'
apply plugin: 'java'
apply from: "$rootDir/gradle/rerunTests.gradle"
sourceCompatibility = targetCompatibility = 10
test.testLogging {
displayGranularity 1
showStackTraces = true
exceptionFormat = 'full'
events "STARTED", "PASSED", "FAILED", "SKIPPED"
}
project.afterEvaluate {
project.tasks.findByName("install")?.dependsOn(tasks.findByName("assemble"))
}
dependencyManagement {
overriddenByDependencies = false
imports {
mavenBom 'org.junit:junit-bom:5.5.0'
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
mavenBom 'org.testcontainers:testcontainers-bom:1.11.4'
mavenBom 'io.grpc:grpc-bom:1.22.0'
mavenBom 'com.google.protobuf:protobuf-bom:3.8.0'
}
dependencies {
dependency 'org.projectlombok:lombok:1.18.8'
dependency 'org.pf4j:pf4j:3.0.1'
dependencySet(group: 'io.rsocket', version: '0.11.16') {
entry 'rsocket-transport-netty'
entry 'rsocket-core'
}
dependencySet(group: 'io.rsocket.rpc', version: '0.2.12') {
entry 'rsocket-rpc-core'
entry 'rsocket-rpc-protobuf'
}
dependency 'io.prometheus:simpleclient_common:0.6.0'
dependency 'org.springframework.fu:spring-fu-autoconfigure-adapter:0.0.5'
dependency 'com.google.protobuf:protoc:3.8.0'
dependency 'com.google.auto.service:auto-service:1.0-rc5'
// Override kafka-clients' version, otherwise it comes from Spring Boot
dependency 'org.apache.kafka:kafka-clients:2.3.0'
dependency 'com.salesforce.servicelibs:reactor-grpc-stub:0.10.0'
dependency 'org.awaitility:awaitility:3.1.6'
}
}
}