mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
External dependencies: do not attach internal jetbrains repository if
it's not available Since Gradle 4.3 it's not allowed to use several repositories for a single dependency
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url "http://repo.labs.intellij.net/plugins-gradle-org/" }
|
||||
if (project.ext.inJetBrainsNetwork) {
|
||||
maven { url "http://repo.labs.intellij.net/plugins-gradle-org/" }
|
||||
}
|
||||
maven { url "https://plugins.gradle.org/m2/" }
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -15,7 +15,9 @@
|
||||
*/
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "http://repo.labs.intellij.net/intellij-third-party-dependencies/" }
|
||||
if (project.ext.inJetBrainsNetwork) {
|
||||
maven { url "http://repo.labs.intellij.net/intellij-third-party-dependencies/" }
|
||||
}
|
||||
maven { url "https://jetbrains.bintray.com/intellij-third-party-dependencies" }
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
repositories {
|
||||
maven { url 'http://repo.labs.intellij.net/plugins.jetbrains.com' }
|
||||
if (project.ext.inJetBrainsNetwork) {
|
||||
maven { url 'http://repo.labs.intellij.net/plugins.jetbrains.com' }
|
||||
}
|
||||
maven { url 'http://plugins.jetbrains.com/maven/' }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user