File tree 3 files changed +6
-3
lines changed
devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ private BaseConfig buildBaseConfig() {
80
80
81
81
// Used to handle the (deprecated) buildNative and testNative tasks.
82
82
project .getExtensions ().getExtraProperties ().getProperties ().forEach ((k , v ) -> {
83
- if (k .startsWith ("quarkus." )) {
83
+ if (k .startsWith ("quarkus." ) || k . startsWith ( "platform.quarkus." ) ) {
84
84
forcedPropertiesProperty .put (k , v .toString ());
85
85
}
86
86
});
@@ -126,7 +126,7 @@ protected EffectiveConfig buildEffectiveConfiguration(ResolvedDependency appArti
126
126
127
127
// Used to handle the (deprecated) buildNative and testNative tasks.
128
128
project .getExtensions ().getExtraProperties ().getProperties ().forEach ((k , v ) -> {
129
- if (k .startsWith ("quarkus." )) {
129
+ if (k .startsWith ("quarkus." ) || k . startsWith ( "platform.quarkus." ) ) {
130
130
forcedPropertiesProperty .put (k , v .toString ());
131
131
}
132
132
});
Original file line number Diff line number Diff line change @@ -251,6 +251,9 @@ void generateBuild() {
251
251
for (String key : config .getMapKeys ("quarkus" ).values ()) {
252
252
values .put (key , config .getConfigValue (key ).getValue ());
253
253
}
254
+ for (String key : config .getMapKeys ("platform.quarkus" ).values ()) {
255
+ values .put (key , config .getConfigValue (key ).getValue ());
256
+ }
254
257
return values ;
255
258
});
256
259
Original file line number Diff line number Diff line change 19
19
import io .quarkus .utilities .OS ;
20
20
21
21
public abstract class QuarkusTask extends DefaultTask {
22
- private static final List <String > WORKER_BUILD_FORK_OPTIONS = List .of ("quarkus." );
22
+ private static final List <String > WORKER_BUILD_FORK_OPTIONS = List .of ("quarkus." , "platform.quarkus." );
23
23
24
24
private final transient QuarkusPluginExtension extension ;
25
25
protected final File projectDir ;
You can’t perform that action at this time.
0 commit comments