-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
96 lines (84 loc) · 3.36 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
plugins {
id 'java-library'
id "io.spring.dependency-management" version "1.1.0"
id "org.springframework.boot" version "3.0.6"
}
repositories {
mavenCentral()
}
group = 'com.ajmalab.demo'
configurations {
testSpringCloudImplementation.extendsFrom testImplementation
testSpringCloudImplementation.extendsFrom testRuntime
testImplementation.exclude group: 'com.vaadin.external.google', module: 'android-json'
}
// Assume that applications using this are using Spring Boot and therefore those dependencies won't be carried over
dependencies {
// LOGGING
api 'ch.qos.logback:logback-classic:1.4.7'
// api 'net.logstash.logback:logstash-logback-encoder:7.3'
//
// api 'com.squareup.okhttp3:okhttp:5.0.0-alpha.11'
// implementation 'commons-io:commons-io:1.3.2'
// implementation 'org.json:json:20230227'
// implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
// implementation 'org.apache.commons:commons-lang3:3.12.0'
// implementation 'com.google.guava:guava:31.1-jre'
// compileOnly 'org.aspectj:aspectjweaver:1.9.19'
//
// // TRACING
// api 'io.opentelemetry:opentelemetry-api:1.26.0'
// implementation 'io.micrometer:micrometer-tracing-bridge-otel:1.1.1'
// implementation 'io.opentelemetry.instrumentation:opentelemetry-jdbc:1.19.2-alpha'
//
// // METRICS
// api 'io.micrometer:micrometer-registry-prometheus:1.11.0'
// implementation 'org.springframework.boot:spring-boot-starter-actuator'
//
// // Not exposed
// compileOnly 'org.springframework.boot:spring-boot-starter-web'
// compileOnly 'org.springframework.boot:spring-boot-starter-security'
//
// // HELPER
// annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// annotationProcessor 'org.projectlombok:lombok:1.18.26'
// compileOnly 'org.projectlombok:lombok:1.18.26'
// testAnnotationProcessor 'org.projectlombok:lombok:1.18.26'
// testCompileOnly 'org.projectlombok:lombok:1.18.26'
//
// // TEST
// testRuntimeOnly 'org.aspectj:aspectjweaver'
// testImplementation 'org.springframework.boot:spring-boot-starter-web'
// testImplementation 'org.springframework.boot:spring-boot-starter-security'
// testImplementation 'org.springframework.boot:spring-boot-starter-test'
// testImplementation 'com.github.tomakehurst:wiremock-jre8-standalone:2.35.+'
// testImplementation 'org.assertj:assertj-core:3.24.2'
// testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0-M1'
// testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0-M1'
// testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0-M1'
// testImplementation 'io.grpc:grpc-api:1.55.1'
// testImplementation 'io.grpc:grpc-services:1.55.1'
// testImplementation 'io.grpc:grpc-stub:1.55.1'
// testImplementation 'io.grpc:grpc-netty:1.55.1'
// testImplementation 'com.google.protobuf:protobuf-java:4.0.0-rc-2'
// testImplementation 'org.awaitility:awaitility:4.2.0'
}
test {
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
jar {
manifest {
attributes(
"Implementation-Title": archiveBaseName,
"Implementation-Version": archiveVersion,
"Implementation-Timestamp": new Date()
)
}
}
dependencyLocking {
lockAllConfigurations()
}