-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
81 lines (71 loc) · 2.09 KB
/
build.gradle
File metadata and controls
81 lines (71 loc) · 2.09 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
buildscript {
ext {
springBootVersion = '2.3.0.RELEASE'
springBootDataGeodeVersion = '1.3.0.RELEASE'
lombokVersion = '1.18.10'
}
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' }
maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url 'https://mvnrepository.com/artifact/org.springframework.plugin/spring-plugin' }
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
group = 'example'
version = '0.0.1-SNAPSHOT'
configurations {
provided
compile.extendsFrom provided
}
task copyDependencies(type: Copy) {
into "$buildDir/dependancies"
from(configurations.compile - configurations.provided)
}
jar {
dependsOn copyDependencies
}
}
project(':client') {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
dependencies {
compile "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compile "org.springframework.geode:spring-geode-starter:${springBootDataGeodeVersion}"
}
bootRun {
if (project.hasProperty('args')) {
args project.args.split(' ')
}
}
}
project(':server') {
dependencies {
compile "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
provided 'org.apache.geode:geode-core:1.12.0'
provided 'org.apache.geode:geode-logging:1.12.0'
provided 'org.apache.geode:geode-membership:1.12.0'
provided 'org.apache.geode:geode-serialization:1.12.0'
provided 'org.apache.logging.log4j:log4j-api:2.12.1'
}
}