Search in sources :

Example 1 with NativeImageEnableAllCharsetsBuildItem

use of io.quarkus.deployment.builditem.NativeImageEnableAllCharsetsBuildItem in project quarkus by quarkusio.

the class MsSQLProcessor method nativeResources.

@BuildStep
void nativeResources(BuildProducer<NativeImageResourceBundleBuildItem> resources, BuildProducer<NativeImageEnableAllCharsetsBuildItem> nativeEnableAllCharsets) {
    resources.produce(new NativeImageResourceBundleBuildItem("com.microsoft.sqlserver.jdbc.SQLServerResource"));
    nativeEnableAllCharsets.produce(new NativeImageEnableAllCharsetsBuildItem());
}
Also used : NativeImageResourceBundleBuildItem(io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem) NativeImageEnableAllCharsetsBuildItem(io.quarkus.deployment.builditem.NativeImageEnableAllCharsetsBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Aggregations

BuildStep (io.quarkus.deployment.annotations.BuildStep)1 NativeImageEnableAllCharsetsBuildItem (io.quarkus.deployment.builditem.NativeImageEnableAllCharsetsBuildItem)1 NativeImageResourceBundleBuildItem (io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem)1