Skip to content

Commit

Permalink
Update maven URL to reposilite
Browse files Browse the repository at this point in the history
Update more urls

Bump versions to existing artifacts
  • Loading branch information
mcm001 committed May 29, 2024
1 parent 9eae7a4 commit 7fd0955
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 209 deletions.
17 changes: 11 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ allprojects {
repositories {
mavenCentral()
mavenLocal()
maven { url = "https://maven.photonvision.org/repository/internal/" }
maven { url = "https://maven.photonvision.org/repository/snapshots/" }
maven { url = "https://maven.photonvision.org/releases" }
maven { url = "https://maven.photonvision.org/snapshots" }
maven { url = "https://jogamp.org/deployment/maven/" }
}
wpilibRepositories.addAllReleaseRepositories(it)
wpilibRepositories.addAllDevelopmentRepositories(it)
Expand All @@ -27,12 +28,12 @@ ext {
wpilibVersion = "2024.3.2-139-gfbfef85"
wpimathVersion = wpilibVersion
openCVversion = "4.8.0-2"
joglVersion = "2.4.0-rc-20200307"
joglVersion = "2.4.0"
javalinVersion = "5.6.2"
libcameraDriverVersion = "dev-v2023.1.0-10-g2693ec0"
rknnVersion = "dev-v2024.0.0-64-gc0836a6"
libcameraDriverVersion = "dev-v2023.1.0-11-g2b7036f"
rknnVersion = "dev-v2024.0.1-4-g0db16ac"
frcYear = "2024"
mrcalVersion = "dev-v2024.0.0-23-g9620baa";
mrcalVersion = "dev-v2024.0.0-24-gc1efcf0";


pubVersion = versionString
Expand All @@ -50,6 +51,10 @@ ext {
println("Building for platform " + jniPlatform + " wpilib: " + wpilibNativeName)
println("Using Wpilib: " + wpilibVersion)
println("Using OpenCV: " + openCVversion)


photonMavenURL = 'https://maven.photonvision.org/' + (isDev ? 'snapshots' : 'releases');
println("Publishing Photonlib to " + photonMavenURL)
}

spotless {
Expand Down
199 changes: 0 additions & 199 deletions photon-lib/publish.gradle

This file was deleted.

2 changes: 1 addition & 1 deletion photonlib-cpp-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ allprojects {
repositories {
mavenCentral()
mavenLocal()
maven { url = "https://maven.photonvision.org/repository/internal/" }
maven { url = "https://maven.photonvision.org/releases" }
}
}

Expand Down
2 changes: 1 addition & 1 deletion photonlib-java-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ allprojects {
repositories {
mavenCentral()
mavenLocal()
maven { url = "https://maven.photonvision.org/repository/internal/" }
maven { url = "https://maven.photonvision.org/releases" }
}
}

Expand Down
2 changes: 1 addition & 1 deletion shared/javacommon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ publishing {

repositories {
maven {
url ('https://maven.photonvision.org/repository/' + (isDev ? 'snapshots' : 'internal'))
url(photonMavenURL)
credentials {
username 'ghactions'
password System.getenv("ARTIFACTORY_API_KEY")
Expand Down
2 changes: 1 addition & 1 deletion shared/javacpp/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ model {

repositories {
maven {
url ('https://maven.photonvision.org/repository/' + (isDev ? 'snapshots' : 'internal'))
url(photonMavenURL)
credentials {
username 'ghactions'
password System.getenv("ARTIFACTORY_API_KEY")
Expand Down

0 comments on commit 7fd0955

Please sign in to comment.