Skip to content

Commit

Permalink
Merge pull request #942 from xstefank/vertx-warning-i936-gradle
Browse files Browse the repository at this point in the history
fix: ignore okhttp3 jandex warnings for gradle builds
  • Loading branch information
xstefank authored Sep 10, 2024
2 parents de9a6eb + 7459d9a commit ef1f64f
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,21 @@ void ignoreNonIndexedClassesWarningsInReflectiveHierarchy(
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple(io.vertx.core.net.ProxyType.class.getName())));
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple("okhttp3.OkHttpClient")));
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple("okhttp3.OkHttpClient$Builder")));
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple("okhttp3.Request$Builder")));
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple("okhttp3.WebSocket")));
reflectiveHierarchyIgnoreWarningBuildItemBuildProducer.produce(
new ReflectiveHierarchyIgnoreWarningBuildItem(
DotName.createSimple("okio.BufferedSource")));

}

Expand Down

0 comments on commit ef1f64f

Please sign in to comment.