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:
Rene Groeschke 2022-04-20 08:54:56 +02:00 committed by GitHub
parent 8d21fe9d9f
commit 718a241449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 161 additions and 128 deletions

View file

@ -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 }
}