-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
97 lines (73 loc) · 2.89 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
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.24.16'
}
}
plugins {
id 'application'
id 'org.springframework.boot' version '2.7.5'
}
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'io.spring.dependency-management'
group 'com.eventstream.googlepubsub'
description 'EventStream'
version = project.findProperty('projectVersion') ?: '1.0-SNAPSHOT'
sourceCompatibility = 17
targetCompatibility = 17
processResources {
expand(project.properties)
}
dependencies {
def springVersion = '2.7.5'
def log4jVersion = '2.17.1'
def jacksonVersion = '2.11.4'
runtimeOnly group: 'org.apache.logging.log4j', name: 'log4j-layout-template-json', version: log4jVersion
compileOnly 'org.projectlombok:lombok:1.18.28'
annotationProcessor 'org.projectlombok:lombok:1.18.28'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.3.1'
implementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion)
implementation(group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: jacksonVersion)
implementation group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: '1.7.4'
implementation group: 'com.google.cloud', name: 'google-cloud-pubsub', version: '1.115.0'
implementation 'com.rabbitmq:amqp-client:5.9.0'
implementation(group: 'org.springframework.boot', name: 'spring-boot', version: springVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-log4j2', version: springVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: springVersion) {
exclude module: "spring-boot-starter-logging"
exclude module: "logback-classic"
}
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: springVersion) {
exclude module: "spring-boot-starter-logging"
exclude module: "logback-classic"
}
implementation (group: 'org.springframework.cloud', name: 'spring-cloud-gcp-starter-pubsub', version: '1.2.8.RELEASE'){
exclude module: "spring-boot-starter-logging"
exclude module: "logback-classic"
}
implementation (group: 'org.springframework.integration', name: 'spring-integration-core', version: '5.5.6') {
exclude module: "spring-boot-starter-logging"
exclude module: "logback-classic"
}
}
repositories {
mavenLocal()
mavenCentral()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
test {
useJUnitPlatform()
}