mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Fix most gradle deprecation warnings (#2093)
This commit is contained in:
@@ -67,7 +67,7 @@ tasks.register('testHeadless', Test) {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed", "standardOut", "standardError"
|
||||
exceptionFormat "full"
|
||||
exceptionFormat = "full"
|
||||
showStandardStreams = true
|
||||
}
|
||||
exclude '**/*BenchmarkTest*'
|
||||
|
||||
@@ -45,7 +45,7 @@ model {
|
||||
|
||||
task copyAllOutputs(type: Copy) {
|
||||
def outputsFolder = file("$project.buildDir/outputs")
|
||||
destinationDir outputsFolder
|
||||
destinationDir = outputsFolder
|
||||
}
|
||||
|
||||
ext.addTaskToCopyAllOutputs = { task ->
|
||||
|
||||
@@ -85,8 +85,8 @@ publishing {
|
||||
artifact javadocJar
|
||||
|
||||
artifactId = "${baseArtifactId}-java"
|
||||
groupId artifactGroupId
|
||||
version pubVersion
|
||||
groupId = artifactGroupId
|
||||
version = pubVersion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,10 +97,10 @@ publishing {
|
||||
if (project.hasProperty('copyOfflineArtifacts')) {
|
||||
url(localMavenURL)
|
||||
} else {
|
||||
url(photonMavenURL)
|
||||
url = photonMavenURL
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
username = 'ghactions'
|
||||
password = System.getenv("ARTIFACTORY_API_KEY")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,7 +112,7 @@ test {
|
||||
systemProperty 'junit.jupiter.extensions.autodetection.enabled', 'true'
|
||||
testLogging {
|
||||
events "failed"
|
||||
exceptionFormat "full"
|
||||
exceptionFormat = "full"
|
||||
showStandardStreams = true
|
||||
}
|
||||
forkEvery = 1
|
||||
|
||||
Reference in New Issue
Block a user