Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 4f1a9d1

Browse files
committed
Make core and rabbit API dependencies
This would otherwise result in both theses dependencies to be set as `runtime` scope in Maven pom. With the `java-library` plugin and the `api` dependency style, we correctly get a `compile` scope.
1 parent e4018d0 commit 4f1a9d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ configure(allprojects) { project ->
6161

6262
apply plugin: 'eclipse'
6363
apply plugin: 'idea'
64-
apply plugin: 'java'
64+
apply plugin: 'java-library'
6565
apply from: "${rootDir}/gradle/setup.gradle"
6666

6767
sourceCompatibility = targetCompatibility = 1.8
@@ -90,8 +90,8 @@ configure(allprojects) { project ->
9090
]
9191

9292
dependencies {
93-
implementation libs.reactor.core
94-
implementation libs.rabbitmq.javaClient
93+
api libs.reactor.core
94+
api libs.rabbitmq.javaClient
9595

9696
// JSR-305 annotations
9797
compileOnly libs.jsr305

0 commit comments

Comments
 (0)