From 8f9a1e74ececd946eeebdbbd6fc775a3ea837ba8 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 10 Jan 2024 15:19:28 -0700 Subject: [PATCH] remove fault secitons download --- gradle/fault-sections.gradle | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 gradle/fault-sections.gradle diff --git a/gradle/fault-sections.gradle b/gradle/fault-sections.gradle deleted file mode 100644 index ddc0e01..0000000 --- a/gradle/fault-sections.gradle +++ /dev/null @@ -1,43 +0,0 @@ -apply plugin: "de.undercouch.download" - -ext { - archiveUrl = "https://code.usgs.gov/ghsc/nshmp/nshm-fault-sections/-/archive" - faultsDir = "fault-sections"; -} - -task downloadFaultSections() { - doLast { - // Download and unzip nshm-fault-sections tag 1.1 - def zipFile1p1 = new File(faultsDir, "nshm-fault-sections-1.1.zip") - download.run { - src "${archiveUrl}/1.1/nshm-fault-sections-1.1.zip" - dest zipFile1p1 - } - copy { - from zipTree(zipFile1p1) - into faultsDir - } - delete { - delete zipFile1p1 - } - - // Download and unzip nshm-fault-sections tag 1.1 - def zipFile1p2 = new File(faultsDir, "nshm-fault-sections-1.2.zip") - download.run { - src "${archiveUrl}/1.2/nshm-fault-sections-1.2.zip" - dest zipFile1p2 - } - copy { - from zipTree(zipFile1p2) - into faultsDir - } - delete { - delete zipFile1p2 - } - } -} - -task faultSectionsClean(type: Delete) { - delete faultsDir -} -clean.dependsOn faultSectionsClean -- GitLab