Skip to content

Commit

Permalink
Fix broken gradle buildNative
Browse files Browse the repository at this point in the history
The task needs to be executed after assemble
  • Loading branch information
geoand committed Oct 23, 2019
1 parent 9c684e3 commit 2cbb972
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ private void registerTasks(Project project) {
quarkusBuild.dependsOn(classesTask);
});

Task buildNative = tasks.create("buildNative", QuarkusNative.class).dependsOn(quarkusBuild);
Task buildNative = tasks.create("buildNative", QuarkusNative.class)
.dependsOn(tasks.getByName(BasePlugin.ASSEMBLE_TASK_NAME));

// set up the source set for the testNative
JavaPluginConvention javaPlugin = project.getConvention().findPlugin(JavaPluginConvention.class);
Expand Down

0 comments on commit 2cbb972

Please sign in to comment.