You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using Spring Boot Dependency Management plugin, it might pull not the same version as the version this started was compiled against, causing binary incompatibility issue. +
41
+
In this case you'll need to forcibly and implicitly set the `grpc` version to use (see link:ReleaseNotes.adoc[version matrix here^] ):
42
+
43
+
[source,groovy]
44
+
----
45
+
configurations.all {
46
+
resolutionStrategy.eachDependency { details ->
47
+
if ("io.grpc".equalsIgnoreCase(details.requested.group)) {
48
+
details.useVersion "1.33.0"
49
+
}
50
+
}
51
+
}
52
+
----
53
+
40
54
[IMPORTANT]
41
55
Starting from release `3.0.0` the artifacts are published to *maven central*.
42
56
Pay attention that `group` has changed from `org.lognet` to `io.github.lognet`.
Copy file name to clipboardExpand all lines: grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/security/GrpcServiceAuthorizationConfigurer.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@
18
18
importjava.util.Arrays;
19
19
importjava.util.Collection;
20
20
importjava.util.Collections;
21
+
importjava.util.Comparator;
21
22
importjava.util.List;
23
+
importjava.util.Objects;
22
24
importjava.util.Optional;
23
25
importjava.util.stream.Collectors;
24
26
importjava.util.stream.Stream;
@@ -118,10 +120,7 @@ public GrpcSecurity withSecuredAnnotation() {
0 commit comments