Files
PhotonVision/photon-targeting/publish.gradle
Matt 2e1b3d0f83 Add Photonlib (#231)
Merges Photonlib into Photonvision, along with the Photonlib code examples. Also creates a new PhotonTargeting library teams can depend on.
2021-01-16 20:41:47 -08:00

29 lines
662 B
Groovy

apply plugin: 'maven-publish'
def artifactGroupId = 'org.photonvision'
def baseArtifactId = 'PhotonTargeting'
def outputsFolder = file("$buildDir/outputs")
publishing {
repositories {
maven {
url 'https://maven.photonvision.org/repository/internal'
credentials {
username 'ghactions'
password System.getenv("ARTIFACTORY_API_KEY")
}
}
}
publications {
mavenJava(MavenPublication) {
groupId = artifactGroupId
artifactId = "${baseArtifactId}-java"
version = pubVersion
from components.java
}
}
}