[build] Use artifactory mirror (#4220)

This commit is contained in:
Austin Shalit
2022-05-08 13:59:58 -07:00
committed by GitHub
parent d673ead481
commit f0c821282a
7 changed files with 24 additions and 8 deletions

View File

@@ -2,7 +2,9 @@ import edu.wpi.first.toolchain.*
buildscript {
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
dependencies {
classpath 'com.hubspot.jinjava:jinjava:2.6.0'
@@ -29,7 +31,9 @@ wpilibVersioning.releaseMode = project.hasProperty('releaseMode')
allprojects {
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
if (project.hasProperty('releaseMode')) {
wpilibRepositories.addAllReleaseRepositories(it)

View File

@@ -23,7 +23,9 @@ mainClassName = 'edu.wpi.Main'
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
dependencies {

View File

@@ -36,7 +36,9 @@ mainClassName = 'frc.robot.Main'
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
dependencies {

View File

@@ -1,7 +1,9 @@
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-gradle'
}
}
}

View File

@@ -86,7 +86,9 @@ if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxrasp
}
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
//maven.url "https://oss.sonatype.org/content/repositories/snapshots/"
}

View File

@@ -56,7 +56,9 @@ compileJava {
}
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
dependencies {

View File

@@ -16,7 +16,9 @@ mainClassName = 'edu.wpi.first.wpilibj.test.AntJunitLauncher'
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
dependencies {