Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5293

Gradle multi project badly broken with new spring boot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • None
    • JDK 11+
      Gradle 6.8.1
      Spring Boot 2.3.8 and 2.4.2 (so plugin 'org.springframework.boot')

    Description

      After upgrade from 2.2.13.RELEASE to 2.3.8.RELEASE or 2.4.2
      it is starting to ask by resolving project dialog to resolve project dependencies, but it is unsuccessful so only option to close a dialog and problem icon is shown on projects that depends on any project dependencies.
      But :

      • it is possible to run gradle task via Clean, Build, Run action from context menu
      • Project properties dialog seems ok
      • but such resolving dialog is forced to open by each start of IDE and problem icon on projects persists

      https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.html#N1748D

      It only helps if it is also specify a "configuration" in project dependency.
      Using different configuration of course leads to case to be added project as jar
      or as folder in Project properties, but without that Project Properties is presented
      in folder form, but problem icon shown on particular project.

      Attachments

        Activity

          People

            lkishalmi Laszlo Kishalmi
            nb-user-2019 Netbeans User 2019
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: