File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ private BaseConfig buildBaseConfig() {
8080
8181 // Used to handle the (deprecated) buildNative and testNative tasks.
8282 project .getExtensions ().getExtraProperties ().getProperties ().forEach ((k , v ) -> {
83- if (k .startsWith ("quarkus." )) {
83+ if (k .startsWith ("quarkus." ) || k . startsWith ( "platform.quarkus." ) ) {
8484 forcedPropertiesProperty .put (k , v .toString ());
8585 }
8686 });
@@ -126,7 +126,7 @@ protected EffectiveConfig buildEffectiveConfiguration(ResolvedDependency appArti
126126
127127 // Used to handle the (deprecated) buildNative and testNative tasks.
128128 project .getExtensions ().getExtraProperties ().getProperties ().forEach ((k , v ) -> {
129- if (k .startsWith ("quarkus." )) {
129+ if (k .startsWith ("quarkus." ) || k . startsWith ( "platform.quarkus." ) ) {
130130 forcedPropertiesProperty .put (k , v .toString ());
131131 }
132132 });
Original file line number Diff line number Diff line change @@ -251,6 +251,9 @@ void generateBuild() {
251251 for (String key : config .getMapKeys ("quarkus" ).values ()) {
252252 values .put (key , config .getConfigValue (key ).getValue ());
253253 }
254+ for (String key : config .getMapKeys ("platform.quarkus" ).values ()) {
255+ values .put (key , config .getConfigValue (key ).getValue ());
256+ }
254257 return values ;
255258 });
256259
Original file line number Diff line number Diff line change 1919import io .quarkus .utilities .OS ;
2020
2121public 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." );
2323
2424 private final transient QuarkusPluginExtension extension ;
2525 protected final File projectDir ;
You can’t perform that action at this time.
0 commit comments