Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup xpack build.gradle #60554

Merged
merged 7 commits into from
Aug 3, 2020

Conversation

jakelandis
Copy link
Contributor

@jakelandis jakelandis commented Jul 31, 2020

This commit does three things:

  • Removes all Copyright/license headers for the build.gradle files under x-pack. (implicit Apache license)
  • Removes evaluationDependsOn(xpackModule('core')) from build.gradle files under x-pack
  • Removes a place holder test in favor of disabling the test task (in the async plugin)

========

This PR looks like alot of changes...but it is really only removing headers, removing an uncessary evaluationDependsOn, and removes a dummy test.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jul 31, 2020
Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removes evaluationDependsOn(xpackModule('core')) from build.gradle files under x-pack
Yay!

I'm not completely convinced that our build files should be licensed under the Elastic license just because they pertain to x-pack projects. @jasontedor do you have an opinion on this?

@@ -25,5 +22,7 @@ dependencyLicenses {
ignoreSha 'x-pack-core'
}

//no tests
test.enabled = false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we similarly use the lazy configuration apis here, ie. tasks.named("test").configure { }.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done b541ac8

x-pack/plugin/sql/build.gradle Outdated Show resolved Hide resolved
@jakelandis
Copy link
Contributor Author

I'm not completely convinced that our build files should be licensed under the Elastic license just because they pertain to x-pack projects. @jasontedor do you have an opinion on this?

Had a side discussion and decided to remove all the headers and let the implicit Apache license take effect. The goal here was not to apply a license, just to make all of the files the same, which this PR now does.

@jakelandis jakelandis merged commit 86952d7 into elastic:master Aug 3, 2020
@jakelandis jakelandis deleted the cleanup_xpack_build_gradle branch August 3, 2020 15:15
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Aug 3, 2020
This commit does three things:
* Removes all Copyright/license headers for the build.gradle files under x-pack. (implicit Apache license)
* Removes evaluationDependsOn(xpackModule('core')) from build.gradle files under x-pack
* Removes a place holder test in favor of disabling the test task (in the async plugin)

# Conflicts:
#	x-pack/plugin/security/build.gradle
#	x-pack/plugin/watcher/build.gradle
jakelandis added a commit that referenced this pull request Aug 3, 2020
This commit does three things:
* Removes all Copyright/license headers for the build.gradle files under x-pack. (implicit Apache license)
* Removes evaluationDependsOn(xpackModule('core')) from build.gradle files under x-pack
* Removes a place holder test in favor of disabling the test task (in the async plugin)
@mark-vieira mark-vieira added Team:Delivery Meta label for Delivery team and removed Team:Core/Infra Meta label for core/infra team labels Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants