Skip to content

Commit

Permalink
Add init-ci.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Mar 22, 2019
1 parent c2985da commit 03e959f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions init-ci.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,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")

0 comments on commit 03e959f

Please sign in to comment.