This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (63 loc) · 2.06 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
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
id 'maven-publish'
id 'org.sonarqube' version '2.7'
id "io.spring.dependency-management" version "1.0.8.RELEASE"
}
group = 'net.zevrant-services.home.discovery'
sourceCompatibility = '1.8'
if(project.hasProperty('projVersion')) {
project.version = project.projVersion
ext.isSnapshot=false
} else {
project.version = '0.0.1-snapshot'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "s3://zevrant-artifact-store"
authentication {
awsIm(AwsImAuthentication)
}
}
}
publishing {
publications {
myPublication(MavenPublication) {
groupId 'net.zevrant-services'
artifactId 'zevrant-discovery-service'
from components.java
}
}
repositories {
maven {
url "s3://zevrant-artifact-store/"
authentication {
awsIm(AwsImAuthentication)
}
}
}
}
ext {
set('springBootAdminVersion', '2.1.3')
set('springCloudVersion', 'Greenwich.SR1')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'de.codecentric:spring-boot-admin-starter-server:2.1.4'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:2.1.3.RELEASE'
implementation 'org.springframework.cloud:spring-cloud-netflix-sidecar:2.1.3.RELEASE'
// implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.1.3.RELEASE'
// implementation 'org.springframework.cloud:spring-cloud-starter-aws-jdbc'
// implementation 'org.springframework.cloud:spring-cloud-starter-aws-messaging'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "de.codecentric:spring-boot-admin-dependencies:${springBootAdminVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}