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

Gradle project does not show -SNAPSHOT in Configurations

    XMLWordPrintableJSON

Details

    Description

      I am working (for example) with project
          git@github.com:micronaut-projects/micronaut-starter.git

      I open the root one, and the 'starter-core' project. The explorer shows something like this (see nb-compile-classpath.jpg). But the compileClasspath from gradle dependencies seems a little richer:

      +--- io.micronaut:micronaut-http -> 2.3.4-SNAPSHOT 
      +--- io.micronaut:micronaut-http-client -> 2.3.4-SNAPSHOT 
      |    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
      |    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT 
      |    |         +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
      |    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT 
      |    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
      |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (c) 
      |    +--- io.micronaut:micronaut-http-client:2.3.4-SNAPSHOT (c) 
      |    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT (c) 
      |    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT (c) 

      None of the 'snapshot' dependencies are displayed in the explorer tree (but they are repored in COMPILE ClassPath as roots).I tried to use ModuleDependency from GradleConfiguration to map back JARs to group:artifact:version coordinates, but in this case, the relevant ModuleDependency lists no artifacts.

       

      Attachments

        1. nb-compile-classpath.jpg
          47 kB
          Svatopluk Dedic

        Activity

          People

            sdedic Svatopluk Dedic
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 2h 10m
                2h 10m