Spring Tool Suite
  1. Spring Tool Suite
  2. STS-2069

Create a workaround for Gradle-1766 that works for Gradle M3

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0.M1
    • Fix Version/s: 2.8.0.M2
    • Component/s: GRADLE
    • Labels:
      None

      Description

      When a project uses a dependency on a sourceSet output folder, such as spring-security does. Then Gradle returns illegal/funny classpath entries to those output folders. This spells trouble.

      It looks to me that Gradle already implements the intention I described in Gradle-1766, i.e. to remap these dependencies to project dependencies. As far as I can tell it already creates the project dependency but it also keeps the folder dependency.

      It would be good if Gradle-STS tooling detected these bogus entries did something to handle them if possible.

        Activity

        Hide
        Kris De Volder (c) added a comment -

        I've added some code that ignores these dependencies if they are already represented by a project dependency.

        This seems to be sufficient to get rid of all compilation errors in the spring-security project without requiring modifications to the build files.

        Show
        Kris De Volder (c) added a comment - I've added some code that ignores these dependencies if they are already represented by a project dependency. This seems to be sufficient to get rid of all compilation errors in the spring-security project without requiring modifications to the build files.
        Kris De Volder (c) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 8 ]
        Trevor Marshall (c) made changes -
        Workflow jira [ 35468 ] jira with Pivotal Tracker [ 64395 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7m 24s 1 Kris De Volder (c) 30/Aug/11 4:28 PM

          People

          • Assignee:
            Kris De Volder (c)
            Reporter:
            Kris De Volder (c)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: