Commit 6a405c8 1 parent 26b30db commit 6a405c8 Copy full SHA for 6a405c8
File tree 7 files changed +69
-31
lines changed
servicetalk-http-router-jersey
servicetalk-http-router-jersey3-jakarta10
servicetalk-http-router-jersey3-jakarta9
servicetalk-tcp-netty-internal
servicetalk-transport-netty-internal
7 files changed +69
-31
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,15 @@ buildscript {
23
23
apply plugin : " io.servicetalk.servicetalk-gradle-plugin-internal-library"
24
24
apply plugin : " com.google.protobuf"
25
25
26
- dependencyAnalysis {
27
- issues {
28
- // False positives for testImplementation
29
- onUnusedDependencies {
30
- exclude(" :servicetalk-http-utils" )
26
+ afterEvaluate {
27
+ if (tasks. findByName(" projectHealth" )) {
28
+ dependencyAnalysis {
29
+ issues {
30
+ // False positives for testImplementation
31
+ onUnusedDependencies {
32
+ exclude(" :servicetalk-http-utils" )
33
+ }
34
+ }
31
35
}
32
36
}
33
37
}
Original file line number Diff line number Diff line change 16
16
17
17
apply plugin : " io.servicetalk.servicetalk-gradle-plugin-internal-library"
18
18
19
- dependencyAnalysis {
20
- issues {
21
- // False positives for testImplementation
22
- onUnusedDependencies {
23
- exclude(" io.netty.incubator:netty-incubator-transport-native-io_uring" )
19
+ afterEvaluate {
20
+ if (tasks. findByName(" projectHealth" )) {
21
+ dependencyAnalysis {
22
+ issues {
23
+ // False positives for testImplementation
24
+ onUnusedDependencies {
25
+ exclude(" io.netty.incubator:netty-incubator-transport-native-io_uring" )
26
+ }
27
+ }
24
28
}
25
29
}
26
30
}
Original file line number Diff line number Diff line change 16
16
17
17
apply plugin : " io.servicetalk.servicetalk-gradle-plugin-internal-library"
18
18
19
- dependencyAnalysis {
20
- issues {
21
- // False positives for testFixturesImplementation
22
- onUnusedDependencies {
23
- exclude(" org.junit.platform:junit-platform-suite" )
19
+ afterEvaluate {
20
+ if (tasks. findByName(" projectHealth" )) {
21
+ dependencyAnalysis {
22
+ issues {
23
+ // False positives for testFixturesImplementation
24
+ onUnusedDependencies {
25
+ exclude(" org.junit.platform:junit-platform-suite" )
26
+ }
27
+ }
24
28
}
25
29
}
26
30
}
Original file line number Diff line number Diff line change @@ -78,11 +78,15 @@ afterEvaluate {
78
78
}
79
79
}
80
80
81
- dependencyAnalysis {
82
- issues {
83
- // False positives for testFixturesImplementation
84
- onUnusedDependencies {
85
- exclude(" org.junit.platform:junit-platform-suite" )
81
+ afterEvaluate {
82
+ if (tasks. findByName(" projectHealth" )) {
83
+ dependencyAnalysis {
84
+ issues {
85
+ // False positives for testFixturesImplementation
86
+ onUnusedDependencies {
87
+ exclude(" org.junit.platform:junit-platform-suite" )
88
+ }
89
+ }
86
90
}
87
91
}
88
92
}
Original file line number Diff line number Diff line change @@ -78,11 +78,15 @@ afterEvaluate {
78
78
}
79
79
}
80
80
81
- dependencyAnalysis {
82
- issues {
83
- // False positives for testFixturesImplementation
84
- onUnusedDependencies {
85
- exclude(" org.junit.platform:junit-platform-suite" )
81
+ afterEvaluate {
82
+ if (tasks. findByName(" projectHealth" )) {
83
+ dependencyAnalysis {
84
+ issues {
85
+ // False positives for testFixturesImplementation
86
+ onUnusedDependencies {
87
+ exclude(" org.junit.platform:junit-platform-suite" )
88
+ }
89
+ }
86
90
}
87
91
}
88
92
}
Original file line number Diff line number Diff line change 16
16
17
17
apply plugin : " io.servicetalk.servicetalk-gradle-plugin-internal-library"
18
18
19
- dependencyAnalysis {
20
- issues {
21
- // False positives for testFixturesImplementation
22
- onUnusedDependencies {
23
- exclude(" io.netty:netty-transport-native-epoll" )
24
- exclude(" io.netty:netty-transport-native-kqueue" )
19
+ afterEvaluate {
20
+ if (tasks. findByName(" projectHealth" )) {
21
+ dependencyAnalysis {
22
+ issues {
23
+ // False positives for testFixturesImplementation
24
+ onUnusedDependencies {
25
+ exclude(" io.netty:netty-transport-native-epoll" )
26
+ exclude(" io.netty:netty-transport-native-kqueue" )
27
+ }
28
+ }
25
29
}
26
30
}
27
31
}
Original file line number Diff line number Diff line change @@ -18,6 +18,19 @@ apply plugin: "io.servicetalk.servicetalk-gradle-plugin-internal-library"
18
18
19
19
ext. isNettySnapshot = " $nettyVersion " . endsWithAny(" SNAPSHOT" , " +" )
20
20
21
+ afterEvaluate {
22
+ if (tasks. findByName(" projectHealth" )) {
23
+ dependencyAnalysis {
24
+ issues {
25
+ // False positives for testFixturesImplementation
26
+ onUnusedDependencies {
27
+ exclude(" io.netty.incubator:netty-incubator-transport-native-io_uring" )
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+
21
34
dependencies {
22
35
api platform(" io.netty:netty-bom:$nettyVersion " )
23
36
api project(" :servicetalk-buffer-netty" )
@@ -67,6 +80,7 @@ dependencies {
67
80
68
81
testFixturesImplementation platform(" org.junit:junit-bom:$junit5Version " )
69
82
testFixturesImplementation project(" :servicetalk-utils-internal" )
83
+ testFixturesImplementation " io.netty.incubator:netty-incubator-transport-native-io_uring:$nettyIoUringVersion "
70
84
testFixturesImplementation " com.google.code.findbugs:jsr305:$jsr305Version "
71
85
testFixturesImplementation " org.junit.jupiter:junit-jupiter-api"
72
86
testFixturesImplementation " org.mockito:mockito-core:$mockitoCoreVersion "
You can’t perform that action at this time.
0 commit comments