mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Apply precommit checks for non productive projects (#85533)
Ensure projects with only yaml, java or cluster tests also apply precommit checks. We only apply testingconventions now for projects with existing src test folder as the TestingConventionsTask is incompatible with projects with no test sourceSet. This is a prerequisite to port more projects away from using StandaloneRestTestPlugin and RestTestPlugin in favor of yaml, java or cluster tests with dedicated sourceSets. Also we fix deprecation warnings for forbiddenPattern and filePermissions tasks about implicit non declared dependencies on resources tasks
This commit is contained in:
parent
8d21fe9d9f
commit
718a241449
20 changed files with 161 additions and 128 deletions
|
@ -20,7 +20,4 @@ dependencies {
|
|||
compileOnly project(':modules:lang-painless:spi')
|
||||
api project(':libs:elasticsearch-grok')
|
||||
api project(':libs:elasticsearch-dissect')
|
||||
}
|
||||
|
||||
//this plugin is here only for the painless extension, there are no unit tests
|
||||
tasks.named("testingConventions").configure { enabled = false }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue