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

Gradle projects with settings.gradle but not build.gradle are not recognized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 12.4
    • 12.5
    • projects - Gradle
    • Gradle 7.0.2
      NetBeans 12.4
      OpenJDK 16

    Description

      Running "gradle init" to initialize a new Java application project will make a project structure with a few sub projects (application and libraries), but no build.gradle file in the root. It just has the settings.gradle file that points to the sub-projects.
      NetBeans project open dialog does not recognize the root folder as a project.
      A simple work around is to make an empty build.gradle file in the root folder of the project, but NetBeans should be able to handle this valid project structure, particularly since it is the "default" structure coming from "gradle init"

      Attachments

        Issue Links

          Activity

            People

              jtulach Jaroslav Tulach
              swpalmer Scott Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h