Skip to content

Commit be170fc

Browse files
committed
add armeria BOM to libraries
Signed-off-by: Doğaç Eldenk <[email protected]>
1 parent a2fc66e commit be170fc

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

+11
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ bom {
5353
releaseNotes("https://github.com/eclipse-ee4j/angus-mail/releases/tag/{version}")
5454
}
5555
}
56+
library("Armeria", "1.32.0") {
57+
group("com.linecorp.armeria") {
58+
imports = [
59+
"armeria-bom"
60+
]
61+
}
62+
links {
63+
site("https://armeria.dev")
64+
releaseNotes("https://armeria.dev/release-notes/{version}")
65+
}
66+
}
5667
library("Artemis", "2.39.0") {
5768
group("org.apache.activemq") {
5869
imports = [

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-armeria-jetty/build.gradle

+3-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ plugins {
44

55
description = "Spring Boot Armeria Jetty smoke test"
66

7-
ext {
8-
armeriaVersion = "1.32.0"
9-
}
10-
117
dependencies {
12-
implementation("com.linecorp.armeria:armeria:$armeriaVersion")
13-
implementation("com.linecorp.armeria:armeria-spring-boot3-autoconfigure:$armeriaVersion")
14-
implementation("com.linecorp.armeria:armeria-jetty12:$armeriaVersion")
8+
implementation("com.linecorp.armeria:armeria")
9+
implementation("com.linecorp.armeria:armeria-spring-boot3-autoconfigure")
10+
implementation("com.linecorp.armeria:armeria-jetty12")
1511

1612
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
1713
exclude module: "spring-boot-starter-tomcat"

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-armeria-jetty/src/main/java/smoketest/armeria/jetty/ArmeriaConfiguration.java

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
* Configures an Armeria server to redirect the incoming requests to the Jetty instance
3333
* provided by Spring Boot. It also sets up a {@link HealthChecker} so that it works well
3434
* with a load balancer.
35+
*
36+
* @author Dogac Eldenk
3537
*/
3638
@Configuration
3739
public class ArmeriaConfiguration {

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-armeria-tomcat/build.gradle

+3-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ plugins {
44

55
description = "Spring Boot Armeria Tomcat smoke test"
66

7-
ext {
8-
armeriaVersion = "1.32.0"
9-
}
10-
117
dependencies {
12-
implementation("com.linecorp.armeria:armeria:$armeriaVersion")
13-
implementation("com.linecorp.armeria:armeria-spring-boot3-autoconfigure:$armeriaVersion")
14-
implementation("com.linecorp.armeria:armeria-tomcat10:$armeriaVersion")
8+
implementation("com.linecorp.armeria:armeria")
9+
implementation("com.linecorp.armeria:armeria-spring-boot3-autoconfigure")
10+
implementation("com.linecorp.armeria:armeria-tomcat10")
1511

1612
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
1713
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-armeria-tomcat/src/main/java/smoketest/armeria/tomcat/ArmeriaConfiguration.java

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
* Configures an Armeria {@link Server} to redirect the incoming requests to the Tomcat
3434
* instance provided by Spring Boot. It also sets up a {@link HealthChecker} so that it
3535
* works well with a load balancer.
36+
*
37+
* @author Dogac Eldenk
3638
*/
3739
@Configuration
3840
public class ArmeriaConfiguration {

0 commit comments

Comments
 (0)