summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 7d9594c..d35d0bb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -72,7 +72,7 @@ subprojects {
ext.makeDownloadTask = { Map params ->
final url = params.url
final basename = url.substring(url.lastIndexOf("/") + 1)
- .grep { c -> c == '.' || Character.isAlphabetic((int) (c as char)) }
+ .grep { c -> c == '.' || Character.isAlphabetic((int) (c as char)) || Character.isDigit((int) (c as char)) }
.join('')
final taskname = params.name ?: basename
final dest = new File(buildDir, "download_${basename}")