-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
107 lines (62 loc) · 1.97 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
96
97
98
99
100
101
102
103
104
105
106
107
buildscript {
repositories {
jcenter()
maven {
url 'https://nexus.matthewdavis.io/repository/gradle.plugins'
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath group: 'gradle.plugins', name: 'versionest', version: '0.0.30'
}
}
plugins {
id 'org.springframework.boot' version '2.1.7.RELEASE'
id 'java'
id 'java-library'
id 'maven-publish'
}
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.springframework.boot'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'versionest'
group = 'spring.black'
version = versionest.version.toString()
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
jcenter()
maven {
url 'https://repo.spring.io/libs-snapshot'
}
maven {
url System.getenv('NEXUS_BASE') ?: 'https://nexus.matthewdavis.io/repository/spring.black'
}
}
bootJar {
enabled = false
}
jar {
enabled = true
}
nexus {
sign = false
repositoryUrl = System.getenv('NEXUS_BASE') ?: 'https://nexus.matthewdavis.io/repository/spring.black'
}
dependencies {
implementation group: 'spring.black', name: 'common', version: '0.0.1'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-rest'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-rest'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa'
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testng:testng:7.0.0'
}