File tree Expand file tree Collapse file tree 3 files changed +22
-8
lines changed
java/org/lfenergy/compas/scl/data/rest Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ SPDX-License-Identifier: Apache-2.0
161
161
<quarkus .package.type>native</quarkus .package.type>
162
162
<!-- Allows for creating a Linux executable without GraalVM being installed -->
163
163
<quarkus .native.container-build>true</quarkus .native.container-build>
164
- <quarkus .native.additional-build-args>-H:ReflectionConfigurationFiles=reflection-config.json</quarkus .native.additional-build-args>
165
164
</properties >
166
165
167
166
<build >
Original file line number Diff line number Diff line change
1
+ // SPDX-FileCopyrightText: 2021 Alliander N.V.
2
+ //
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ package org .lfenergy .compas .scl .data .rest ;
5
+
6
+ import io .quarkus .runtime .annotations .RegisterForReflection ;
7
+ import org .lfenergy .compas .core .jaxrs .model .ErrorMessage ;
8
+ import org .lfenergy .compas .core .jaxrs .model .ErrorResponse ;
9
+ import org .lfenergy .compas .scl .data .model .SclMetaInfo ;
10
+
11
+ /**
12
+ * Configure class for Quarkus Native Build to be included.
13
+ */
14
+ @ RegisterForReflection (
15
+ targets = {
16
+ SclMetaInfo .class ,
17
+ ErrorMessage .class ,
18
+ ErrorResponse .class ,
19
+ org .lfenergy .compas .scl .data .model .ObjectFactory .class
20
+ })
21
+ public class CompasReflectionConfiguration {
22
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments