-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
80 lines (68 loc) · 1.88 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
buildscript {
ext {
springBootVersion = '2.1.0.RELEASE'
}
repositories {
jcenter()
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.8'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16'
}
}
apply from: "gradle/doc.gradle"
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'io.spring.dependency-management'
group 'io.rsocket.springone.demo'
version '1.0.0'
sourceCompatibility = 1.8
ext['protobuf.version'] = '3.6.1'
ext['rsocket.version'] = '0.11.12'
ext['rsocket-rpc.version'] = '0.2.10'
ext['proteus.version'] = '1.5.2'
dependencyManagement {
dependencies {
dependency group: 'io.r2dbc', name: 'r2dbc-postgresql', version: '1.0.0.BUILD-SNAPSHOT'
dependencySet(group: 'com.google.protobuf', version: ext['protobuf.version']) {
entry 'protoc'
entry 'protobuf-java'
entry 'protobuf-java-util'
}
dependencySet(group: 'io.rsocket', version: ext['rsocket.version']) {
entry 'rsocket-core'
entry 'rsocket-transport-netty'
entry 'rsocket-transport-local'
}
dependencySet(group: 'io.rsocket.rpc', version: ext['rsocket-rpc.version']) {
entry 'rsocket-rpc-core'
entry 'rsocket-rpc-metrics-idl'
entry 'rsocket-rpc-protobuf'
entry 'rsocket-rpc-protobuf-idl'
}
dependency "io.netifi.proteus:proteus-spring-boot-starter:${ext['proteus.version']}"
}
}
repositories {
mavenLocal()
jcenter()
maven {
url 'http://repo.spring.io/libs-snapshot'
}
maven {
url "https://dl.bintray.com/netifi/netifi-oss"
}
}
}
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('com.google.guava:guava') with module('com.google.guava:guava:22.0')
}
}
}