Enforce fail on deprecated gradle usage (#59598)
This commit is contained in:
parent
c78d5e8499
commit
5c4a3ec987
|
@ -6,3 +6,6 @@ options.forkOptions.memoryMaximumSize=2g
|
|||
# Disable duplicate project id detection
|
||||
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail
|
||||
systemProp.org.gradle.dependency.duplicate.project.detection=false
|
||||
|
||||
# Enforce the build to fail on deprecated gradle api usage
|
||||
systemProp.org.gradle.warning.mode=fail
|
||||
|
|
|
@ -85,6 +85,7 @@ ext.expansions = [
|
|||
|
||||
processTestResources {
|
||||
from(sourceSets.test.resources.srcDirs) {
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
include '**/*.yml'
|
||||
inputs.properties(expansions)
|
||||
MavenFilteringHack.filter(it, expansions)
|
||||
|
|
|
@ -10,6 +10,7 @@ testFixtures.useFixture ":x-pack:test:smb-fixture"
|
|||
|
||||
// add test resources from security, so tests can use example certs
|
||||
processTestResources {
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
from(project(xpackModule('core')).sourceSets.test.resources.srcDirs)
|
||||
from(project(xpackModule('security')).sourceSets.test.resources.srcDirs)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue