mirror of https://github.com/apache/lucene.git
LUCENE-9713: exclude .idea/ (sync with Solr's version).
This commit is contained in:
parent
3aa0676194
commit
93c66e1400
|
@ -79,6 +79,7 @@ subprojects {
|
|||
|
||||
// default excludes.
|
||||
exclude 'build/**'
|
||||
exclude '**/.idea/**'
|
||||
|
||||
// ignore txt files in source resources and tests.
|
||||
exclude 'src/**/*.txt'
|
||||
|
@ -248,7 +249,7 @@ class ValidateSourcePatternsTask extends DefaultTask {
|
|||
logger.debug('Scanning source file: {}', f);
|
||||
|
||||
def text = f.getText('UTF-8');
|
||||
invalidPatterns.each{ pattern,name ->
|
||||
invalidPatterns.each { pattern, name ->
|
||||
if (pattern.matcher(text).find()) {
|
||||
reportViolation(f, name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue