forked from ome/omero-insight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init-ci.gradle
23 lines (22 loc) · 910 Bytes
/
init-ci.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
settingsEvaluated {
it.pluginManagement {
repositories {
maven {
url System.getenv("ARTIFACTORY_URL") ?: 'https://artifacts.openmicroscopy.org/artifactory/maven/'
}
maven {
url System.getenv("GITLAB_URL") ?: 'https://artifacts.openmicroscopy.org/artifactory/maven/'
}
maven {
url System.getenv("MAVEN_RELEASES_REPO_URL") ?: 'https://artifacts.openmicroscopy.org/artifactory/maven/'
}
maven {
url System.getenv("MAVEN_SNAPSHOTS_REPO_URL") ?: 'https://artifacts.openmicroscopy.org/artifactory/maven/'
}
gradlePluginPortal()
}
}
}
// Use a local m2 repo to ensure a clean build
// Disabled due to broken SNAPSHOT handling.
// System.setProperty("maven.repo.local", System.getProperty("user.dir") + "/m2/repository")