Skip to content

Commit

Permalink
Update for 2025.1.1 (#500)
Browse files Browse the repository at this point in the history
Skip wpical on linux arm64
  • Loading branch information
PeterJohnson authored Jan 2, 2025
1 parent df77522 commit 103f403
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gradleRioVersion: 2025.1.1-beta-3
gradleRioVersion: 2025.1.1
14 changes: 14 additions & 0 deletions scripts/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ def skipNewPlatformTools = [
'edu.wpi.first.tools:SmartDashboard'
]

def skipLinuxArm64PlatformTools = [
'edu.wpi.first.tools:wpical'
]

def skipTools = []

dependencies {
Expand Down Expand Up @@ -75,6 +79,16 @@ def lazyEvaluator = tasks.register('lazyModelEvaluation') {
}
}
}
if (project.hasProperty('linuxBuildArm64')) {
skipLinuxArm64PlatformTools.each { tool->
if ("$dep.groupId:$dep.artifactId" == tool) {
def depString = "$dep.groupId:$dep.artifactId:$dep.version:$dep.classifier@$dep.extension"
println "Skipping because arm " + depString
foundTool = true
return
}
}
}

if (foundTool) {
return
Expand Down

0 comments on commit 103f403

Please sign in to comment.