Skip to content

Commit

Permalink
First pass cleaning and simplifying module-info's.
Browse files Browse the repository at this point in the history
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
  • Loading branch information
spericas committed Jun 18, 2024
1 parent 79f8819 commit efbc4c9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
4 changes: 2 additions & 2 deletions grpc/core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
*/
module io.helidon.grpc.core {

requires java.logging;

requires io.helidon.common;
requires io.helidon.http;
requires io.helidon.common.context;

requires java.logging;

requires transitive io.grpc;
requires transitive io.grpc.stub;
requires transitive com.google.protobuf;
Expand Down
7 changes: 4 additions & 3 deletions microprofile/grpc/core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@
* gRPC microprofile core module
*/
module io.helidon.microprofile.grpc.core {
exports io.helidon.microprofile.grpc.core;

requires io.helidon.common;
requires transitive io.helidon.grpc.core;
requires transitive io.helidon.microprofile.config;
requires io.helidon.microprofile.config;

requires transitive io.helidon.grpc.core;
requires transitive jakarta.cdi;

requires java.logging;
requires jakarta.inject;

exports io.helidon.microprofile.grpc.core;

uses io.helidon.microprofile.grpc.core.MethodHandlerSupplier;
uses io.helidon.grpc.core.MarshallerSupplier;

Expand Down
11 changes: 5 additions & 6 deletions microprofile/grpc/server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
)
@Aot(false)
module io.helidon.microprofile.grpc.server {
exports io.helidon.microprofile.grpc.server;
exports io.helidon.microprofile.grpc.server.spi;

requires transitive io.helidon.grpc.core;
requires transitive io.helidon.webserver.grpc;
requires transitive io.helidon.microprofile.grpc.core;

requires io.helidon.common;
requires io.helidon.common.configurable;
Expand All @@ -44,7 +38,9 @@
requires io.helidon.config.objectmapping;
requires io.helidon.config;
requires io.helidon.config.metadata;
requires io.helidon.microprofile.grpc.core;
requires io.helidon.microprofile.server;
requires io.helidon.webserver.grpc;

requires io.grpc;
requires io.grpc.inprocess;
Expand All @@ -55,6 +51,9 @@

requires microprofile.health.api;

exports io.helidon.microprofile.grpc.server;
exports io.helidon.microprofile.grpc.server.spi;

uses io.helidon.microprofile.grpc.server.spi.GrpcMpExtension;

provides jakarta.enterprise.inject.spi.Extension with GrpcMpCdiExtension;
Expand Down
12 changes: 4 additions & 8 deletions webserver/grpc/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,17 @@
in = HelidonFlavor.SE,
path = {"WebServer", "GRPC"}
)
@SuppressWarnings({ "requires-automatic", "requires-transitive-automatic" })
@SuppressWarnings({ "requires-automatic"})
module io.helidon.webserver.grpc {

requires io.grpc.protobuf.lite;
requires io.helidon.builder.api;
requires io.helidon.webserver.http2;
requires io.helidon.tracing;
requires io.helidon.grpc.core;
requires io.helidon.common.config;

requires static io.helidon.common.features.api;
requires transitive io.helidon.grpc.core;

requires transitive com.google.protobuf;
requires transitive io.grpc;
requires transitive io.grpc.stub;
requires transitive io.helidon.common.config;
requires static io.helidon.common.features.api;

exports io.helidon.webserver.grpc;

Expand Down

0 comments on commit efbc4c9

Please sign in to comment.