Skip to content

Commit

Permalink
Add runtimeOnly dependencies to quarkusDev classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
glefloch committed Jun 25, 2021
1 parent e2bbdc8 commit ef0bedf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ private void addSelfWithLocalDeps(Project project, GradleDevModeLauncher.Builder
if (!visited.add(project.getPath())) {
return;
}
final Configuration compileCp = project.getConfigurations().findByName(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME);
final Configuration compileCp = project.getConfigurations().findByName(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME)
.extendsFrom(project.getConfigurations().findByName(JavaPlugin.COMPILE_ONLY_CONFIGURATION_NAME));
if (compileCp != null) {
compileCp.getIncoming().getDependencies().forEach(d -> {
if (d instanceof ProjectDependency) {
Expand Down

0 comments on commit ef0bedf

Please sign in to comment.