Skip to content

Commit

Permalink
Enforce fail on deprecated gradle usage (elastic#59598)
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Jul 17, 2020
1 parent 301d61a commit ed7de20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions x-pack/qa/smoke-test-plugins-ssl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ ext.expansions = [

processTestResources {
from(sourceSets.test.resources.srcDirs) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
include '**/*.yml'
inputs.properties(expansions)
MavenFilteringHack.filter(it, expansions)
Expand Down
1 change: 1 addition & 0 deletions x-pack/qa/third-party/active-directory/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ed7de20

Please sign in to comment.