From 54c8cdb872f2897c6e451bddbe42fea8971d5590 Mon Sep 17 00:00:00 2001 From: Guillaume Le Floch Date: Mon, 31 Jan 2022 18:02:05 +0100 Subject: [PATCH] Set quarkusDev configuration in quarkusRemoteDev task --- .../src/main/java/io/quarkus/gradle/QuarkusPlugin.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java index 2a801469594d4..a914d10adea28 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/QuarkusPlugin.java @@ -205,7 +205,10 @@ public void execute(Task test) { quarkusGenerateCodeTests); task.setQuarkusDevConfiguration(devModeConfiguration); }); - quarkusRemoteDev.configure(task -> task.dependsOn(classesTask, resourcesTask)); + quarkusRemoteDev.configure(task -> { + task.dependsOn(classesTask, resourcesTask); + task.setQuarkusDevConfiguration(devModeConfiguration); + }); quarkusTest.configure(task -> { task.dependsOn(classesTask, resourcesTask, testClassesTask, testResourcesTask, quarkusGenerateCode,