-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
84 lines (73 loc) · 2.47 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
buildscript {
ext {
springBootVersion = '2.2.2.RELEASE'
}
repositories {
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}")
}
}
plugins {
id 'io.franzbecker.gradle-lombok' version '1.11'
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url 'https://repo.spring.io/libs-release' }
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url 'https://repo.spring.io/libs-snapshot' }
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
group = 'example.cloudcache'
version = '0.0.1-SNAPSHOT'
configurations {
provided
compile.extendsFrom provided
}
task copyDependancies(type: Copy) {
into "$buildDir/dependancies"
from(configurations.compile - configurations.provided)
}
jar {
dependsOn copyDependancies
}
}
project(':client') {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
dependencies {
compile 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compile 'org.springframework.geode:spring-geode-starter:1.2.2.RELEASE'
compile 'org.springframework.geode:spring-geode-starter-actuator:1.2.2.RELEASE'
compile "org.springframework.boot:spring-boot-starter-web:2.2.2.RELEASE"
compile group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: '1.3.2'
}
}
project(':client-cq') {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
dependencies {
compile 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compile 'org.springframework.geode:spring-geode-starter:1.2.2.RELEASE'
compile 'org.springframework.geode:spring-geode-starter-actuator:1.2.2.RELEASE'
compile "org.springframework.boot:spring-boot-starter-web:2.2.2.RELEASE"
compile group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: '1.3.2'
}
}
project(':server') {
dependencies {
compile 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
provided 'io.pivotal.gemfire:geode-core:9.8.3'
}
}