[GRADLE-3502] Plugin portal does not provide transitive dependencies for plugins from custom repositories Created: 14/Jul/16  Updated: 15/Jul/16  Resolved: 15/Jul/16

Status: Resolved
Project: Gradle
Affects Version/s: 2.14
Fix Version/s: 3.0-rc-1

Type: Bug
Reporter: Stefan Oehme (Inactive) Assignee: Stefan Oehme (Inactive)
Resolution: Fixed Votes: 1


 Description   

Given these plugin repositories:

pluginRepositories {
  maven {
    url 'my-company-repo'
  }
  gradlePluginPortal()
}

When a plugin from the company-repo depends on another plugin from the plugin portal, it cannot be resolved.

The workaround is to explicitly add the plugin portal maven repository as another plugin repository:

pluginRepositories {
  maven {
    url 'my-company-repo'
  }
  gradlePluginPortal()
  maven {
    url 'https://plugins.gradle.org/m2'
  }
}

Generated at Wed Jun 30 12:50:28 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.