Build fails for jenkinsCore >= 2.0

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: gradle-jpi-plugin
    • None
    • Environment:
      Windows 10 x64, Gradle 2.9, JDK 8u92 x64

      Jenkins version 2.x dependes on javax.servlet:javax.servlet-api:3.1.0 but the generated dependency uses the old module name servlet-api which is not resolvable.

      I have managed to work around this by adding the dependency explicitly and excluding the erroneous one, like so:

      dependencies {
      	compile 'javax.servlet:javax.servlet-api:3.1.0'
      }
      
      configurations {
      	all*.exclude module: 'servlet-api'
      }
      

            Assignee:
            Daniel Spilker
            Reporter:
            Fredrik Bruzelius
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: