Skip to content

Commit

Permalink
Fix REST client extension SSL native include
Browse files Browse the repository at this point in the history
  • Loading branch information
xstefank authored and gsmet committed Oct 9, 2020
1 parent 01c6f57 commit 1d30aa1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ void processInterfaces(
BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
BuildProducer<ReflectiveHierarchyBuildItem> reflectiveHierarchy,
BuildProducer<BeanRegistrarBuildItem> beanRegistrars,
BuildProducer<ExtensionSslNativeSupportBuildItem> extensionSslNativeSupport,
BuildProducer<ServiceProviderBuildItem> serviceProvider,
BuildProducer<RestClientBuildItem> restClient) {

Expand Down Expand Up @@ -254,9 +253,11 @@ public void register(RegistrationContext registrationContext) {
}
}
}));
}

// Indicates that this extension would like the SSL support to be enabled
extensionSslNativeSupport.produce(new ExtensionSslNativeSupportBuildItem(Feature.REST_CLIENT));
@BuildStep
ExtensionSslNativeSupportBuildItem activateSslNativeSupport() {
return new ExtensionSslNativeSupportBuildItem(Feature.REST_CLIENT);
}

// currently default methods on a rest-client interface
Expand Down

0 comments on commit 1d30aa1

Please sign in to comment.