Griffon
  1. Griffon
  2. GRIFFON-426

Griffon does not take provided scope of transitive dependencies into account

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.3, 0.9.4
    • Fix Version/s: 0.9.5-rc1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When adding Guava libraries to Griffon, you get an exception:

      Compilation error: BUG! exception in phase 'canonicalization' in source unit
      '/home/wdb/myproject/griffon-app/controllers/MyController.groovy' Prohibited
      package name: java.util.concurrent
      

      You can avoid this by using:

      compile( 'com.google.guava:guava:10.0.1' ){ 
        exclude 'guava-bootstrap' 
      } 
      

      Normally, this should not be needed since 'guava-bootstrap' has 'provided' as dependency scope.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Wim Deblauwe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: