Skip to content

upgrade build - #2

Open
IanNpdx5 wants to merge 2 commits into
mainfrom
build-update
Open

IanNpdx5 wants to merge 2 commits into
mainfrom
build-update

Conversation

@IanNpdx5

@IanNpdx5 IanNpdx5 commented Nov 5, 2026

Copy link
Copy Markdown
Member

Replaced Deprecated Features:

  1. task(name) -> tasks.register("name")
  2. Project.exec -> execOperations.exec
  3. added definitions outside to fix Invocation of Task.project at execution time has been deprecated
    - def projectDirectory = projectDir
    - def isDeployTaskIncluded = project.gradle.startParameter.taskNames.any({it.toLowerCase().contains("deploy")})

And upgraded project to alpha 8 (This was using the upgrade project window)
All it changed was the org.wpilib.GradleRIO version from 2027.0.0-alpha-7 -> 2027.0.0-alpha-8

@IanNpdx5

IanNpdx5 commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Added cache and updated spotless to stable version which fixed errors, and set spotless not to use cache since it breaks it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant