From 356b2f894cd53057ee57cdbd2eefc222552a196f Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Mon, 3 Apr 2023 14:02:16 -0600
Subject: [PATCH] Add tasks file

---
 .vscode/tasks.json | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 .vscode/tasks.json

diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..99096d8e
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,29 @@
+{
+  /*
+   * VS Code tasks for nshmp-haz.
+   *
+   * For more information on tasks, visit: https://code.visualstudio.com/docs/editor/tasks
+   */
+  "version": "2.0.0",
+  "tasks": [
+    /*
+     * Task to automatically run the `./gradlew eclipse` task on startup to
+     * keep the `.classpath` file updated.
+     */
+    {
+      "label": "Update Classpath File",
+      "type": "shell",
+      "command": "./gradlew eclipse",
+      "windows": {
+        "command": "gradle.bat eclipse"
+      },
+      "presentation": {
+        "close": true,
+      },
+      "group": "none",
+      "runOptions": {
+        "runOn": "folderOpen"
+      }
+    }
+  ]
+}
-- 
GitLab