File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
logback-access-reactor-netty Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ A Java/Kotlin library that integrates Logback Access with Reactor Netty HTTP ser
2828
2929- Java 17+
3030- Kotlin Standard Library 2.1.21
31- - Reactor Netty HTTP Server 1.2.6
31+ - Reactor Netty HTTP Server 1.2.6+ (should be explicitly provided)
3232- Logback-access 2.0.6
3333- SLF4J 2.0.17
3434
Original file line number Diff line number Diff line change @@ -31,6 +31,26 @@ java {
3131 withSourcesJar()
3232}
3333
34+ val provided: Configuration by configurations.creating {
35+ isCanBeConsumed = false
36+ isCanBeResolved = false
37+ }
38+
39+ configurations {
40+ compileClasspath {
41+ extendsFrom(provided)
42+ }
43+ runtimeClasspath {
44+ extendsFrom(provided)
45+ }
46+ testCompileClasspath {
47+ extendsFrom(provided)
48+ }
49+ testRuntimeClasspath {
50+ extendsFrom(provided)
51+ }
52+ }
53+
3454tasks.build {
3555 dependsOn(tasks.check)
3656 dependsOn(tasks.jacocoTestReport)
Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ plugins {
55description = " Logback Access integration with Reactor Netty"
66
77dependencies {
8- implementation (libs.logback.access.common)
9- implementation(libs.reactorNetty.http)
8+ api (libs.logback.access.common)
9+
1010 implementation(libs.slf4j.api)
1111
12+ provided(libs.reactorNetty.http)
13+
1214 testImplementation(libs.junit.jupiter)
1315 testImplementation(libs.kotest.assertions.core.jvm)
1416 testImplementation(libs.kotlinx.coroutines.core)
You can’t perform that action at this time.
0 commit comments