我们有一个私人Nexus,除了这个gradle插件,我们得到了所有东西。
plugins {
id 'org.unbroken-dome.test-sets' version '1.2.0'
}
setting.gradle
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == 'org.unbroken-dome.gradle-plugins') {
useModule('org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:1.5.0')
}
}
}
repositories {
maven {
url 'http://someurl.com/repository/MavenRepoGroup/'
credentials {
username 'username'
password 'password'
}
}
}
}
无论何时,我尝试构建我得到以下错误:
* What went wrong:
Plugin [id: 'org.unbroken-dome.test-sets', version: '1.2.0', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- maven(http://someurl.com/repository/MavenRepoGroup/) (Could not resolve plugin artifact 'org.unbroken-dome.test-sets:org.unbroken-dome.test-sets.gradle.plugin:1.2.0')