Skip to content

Commit e0b3f4e

Browse files
authored
fix: use @feature annotation instead of @Features (#707)
Signed-off-by: Ivan Zhuravel <ivanguravel@gmail.com>
1 parent be9382e commit e0b3f4e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pbj-core/pbj-grpc-helidon-config/src/main/java/module-info.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
import io.helidon.common.features.api.Features;
2+
import io.helidon.common.features.api.Feature;
33
import io.helidon.common.features.api.HelidonFlavor;
4+
import io.helidon.common.features.api.Preview;
45

5-
@Features.Preview
6-
@Features.Name("PBJConfig")
7-
@Features.Description("WebServer gRPC-PBJ Config")
8-
@Features.Flavor(HelidonFlavor.SE)
9-
@Features.Path({"WebServer", "PBJ"})
6+
@Preview
7+
@Feature(
8+
value = "PBJConfig",
9+
description = "WebServer gRPC-PBJ Config",
10+
in = HelidonFlavor.SE,
11+
path = {"WebServer", "PBJ"})
1012
module com.hedera.pbj.grpc.helidon.config {
1113
requires transitive io.helidon.builder.api;
1214
requires transitive io.helidon.common.config; // indirectly used on API of generated 'PbjConfig'

0 commit comments

Comments
 (0)