parent
9834081254
commit
95d40758c2
|
@ -63,11 +63,6 @@ public class ForbiddenPatternsTask extends DefaultTask {
|
||||||
patterns.put('nocommit should be all lowercase or all uppercase',
|
patterns.put('nocommit should be all lowercase or all uppercase',
|
||||||
/((?i)nocommit)(?<!(nocommit|NOCOMMIT))/)
|
/((?i)nocommit)(?<!(nocommit|NOCOMMIT))/)
|
||||||
patterns.put('tab', /\t/)
|
patterns.put('tab', /\t/)
|
||||||
if (System.getProperty('build.snapshot', 'true').equals('false')) {
|
|
||||||
patterns.put('norelease', /norelease|NORELEASE/)
|
|
||||||
}
|
|
||||||
patterns.put('norelease should be all lowercase or all uppercase',
|
|
||||||
/((?i)norelease)(?<!(norelease|NORELEASE))/)
|
|
||||||
|
|
||||||
|
|
||||||
inputs.property("excludes", filesFilter.excludes)
|
inputs.property("excludes", filesFilter.excludes)
|
||||||
|
|
Loading…
Reference in New Issue