-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
75 lines (65 loc) · 2.57 KB
/
build.gradle.kts
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
plugins {
`java-library`
id("me.philippheuer.configuration") version "0.10.8"
}
val version: String = properties["version"] as? String ?: "0.0.0"
projectConfiguration {
type.set(me.philippheuer.projectcfg.domain.ProjectType.LIBRARY)
javaVersion.set(JavaVersion.VERSION_17)
artifactGroupId.set("io.github.primelib")
artifactId.set("webmethodsapigateway4j")
artifactDisplayName.set("webmethodsapigateway4j")
artifactDescription.set("Java Client for the WebMethods API Gateway.")
pom = { pom ->
pom.url.set("https://github.com/primelib/webmethodsapigateway4j")
pom.issueManagement {
system.set("GitHub")
url.set("https://github.com/primelib/webmethodsapigateway4j/issues")
}
pom.inceptionYear.set("2023")
pom.developers {
developer {
id.set("PhilippHeuer")
name.set("Philipp Heuer")
email.set("git@philippheuer.me")
roles.addAll("maintainer")
}
}
pom.licenses {
license {
name.set("MIT License")
distribution.set("repo")
url.set("https://raw.githubusercontent.com/primelib/webmethodsapigateway4j/main/LICENSE")
}
}
pom.scm {
connection.set("scm:git:git://github.com/primelib/webmethodsapigateway4j.git")
developerConnection.set("scm:git:git://github.com/primelib/webmethodsapigateway4j.git")
url.set("https://github.com/primelib/webmethodsapigateway4j")
}
}
}
dependencies {
// bom
api(platform("io.github.openfeign:feign-bom:13.2"))
api(platform("io.github.resilience4j:resilience4j-bom:2.2.0"))
api(platform("com.fasterxml.jackson:jackson-bom:2.16.1"))
api(platform("io.github.primelib.primecodegenlib.java:bom:0.0.2"))
// annotations
implementation("org.jetbrains:annotations:24.1.0")
// feign
implementation("io.github.openfeign:feign-core")
implementation("io.github.openfeign:feign-jackson")
implementation("io.github.openfeign:feign-slf4j")
implementation("io.github.openfeign:feign-okhttp")
implementation("io.github.openfeign:feign-micrometer")
// codegen libs
api("io.github.primelib.primecodegenlib.java:feign-common")
// jackson
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
// metrics
api("io.micrometer:micrometer-core:1.12.2")
// test
testImplementation("org.slf4j:slf4j-simple:2.0.11")
}