From 32e3a8c9b1ed73c2b85efa5a3ed238c1b127aa76 Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Thu, 28 Mar 2024 10:25:11 +0800 Subject: [PATCH] Update build templates for gradlerio deploy files Requires https://github.com/wpilibsuite/GradleRIO/pull/690 --- vscode-wpilib/resources/gradle/c/build.gradle | 6 ++++++ vscode-wpilib/resources/gradle/cpp/build.gradle | 6 ++++++ vscode-wpilib/resources/gradle/java/build.gradle | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/vscode-wpilib/resources/gradle/c/build.gradle b/vscode-wpilib/resources/gradle/c/build.gradle index 2a1b8721..3debb934 100644 --- a/vscode-wpilib/resources/gradle/c/build.gradle +++ b/vscode-wpilib/resources/gradle/c/build.gradle @@ -29,6 +29,12 @@ deploy { files = project.fileTree('src/main/deploy') directory = '/home/lvuser/deploy' } + + // deploy and debug info artifact + frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) { + files = project.fileTree('build/debug/') + directory = '/home/lvuser/debug' + } } } } diff --git a/vscode-wpilib/resources/gradle/cpp/build.gradle b/vscode-wpilib/resources/gradle/cpp/build.gradle index 5d3ca687..3c29f45f 100644 --- a/vscode-wpilib/resources/gradle/cpp/build.gradle +++ b/vscode-wpilib/resources/gradle/cpp/build.gradle @@ -28,6 +28,12 @@ deploy { files = project.fileTree('src/main/deploy') directory = '/home/lvuser/deploy' } + + // deploy and debug info artifact + frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) { + files = project.fileTree('build/debug/') + directory = '/home/lvuser/debug' + } } } } diff --git a/vscode-wpilib/resources/gradle/java/build.gradle b/vscode-wpilib/resources/gradle/java/build.gradle index 4c153a21..5fbb7825 100644 --- a/vscode-wpilib/resources/gradle/java/build.gradle +++ b/vscode-wpilib/resources/gradle/java/build.gradle @@ -34,6 +34,12 @@ deploy { files = project.fileTree('src/main/deploy') directory = '/home/lvuser/deploy' } + + // deploy and debug info artifact + frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) { + files = project.fileTree('build/debug/') + directory = '/home/lvuser/debug' + } } } }