Skip to content

Commit 32e3a8c

Browse files
committed
Update build templates for gradlerio deploy files
Requires wpilibsuite/GradleRIO#690
1 parent a8d6e8b commit 32e3a8c

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

vscode-wpilib/resources/gradle/c/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ deploy {
2929
files = project.fileTree('src/main/deploy')
3030
directory = '/home/lvuser/deploy'
3131
}
32+
33+
// deploy and debug info artifact
34+
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
35+
files = project.fileTree('build/debug/')
36+
directory = '/home/lvuser/debug'
37+
}
3238
}
3339
}
3440
}

vscode-wpilib/resources/gradle/cpp/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ deploy {
2828
files = project.fileTree('src/main/deploy')
2929
directory = '/home/lvuser/deploy'
3030
}
31+
32+
// deploy and debug info artifact
33+
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
34+
files = project.fileTree('build/debug/')
35+
directory = '/home/lvuser/debug'
36+
}
3137
}
3238
}
3339
}

vscode-wpilib/resources/gradle/java/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ deploy {
3434
files = project.fileTree('src/main/deploy')
3535
directory = '/home/lvuser/deploy'
3636
}
37+
38+
// deploy and debug info artifact
39+
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
40+
files = project.fileTree('build/debug/')
41+
directory = '/home/lvuser/debug'
42+
}
3743
}
3844
}
3945
}

0 commit comments

Comments
 (0)