Code cleanup

This commit is contained in:
Nathan Adams
2017-06-21 14:29:26 +02:00
parent 400657b472
commit c2141ce38b
17 changed files with 58 additions and 65 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import groovy.io.FileType
apply plugin: 'java-library'
apply plugin: 'maven'
@@ -78,7 +80,7 @@ uploadArchives {
doLast {
// Purge all annoying files that arent needed
repoDir.traverse(type: groovy.io.FileType.FILES, nameFilter: ~/.*\.(xml|xml\.sha1|md5)$/) {
repoDir.traverse(type: FileType.FILES, nameFilter: ~/.*\.(xml|xml\.sha1|md5)$/) {
it.delete()
}
}