Skip to content

Conversation

@breskeby
Copy link
Contributor

@breskeby breskeby commented Mar 10, 2021

  • In general we want to move all production build logic midterm to java
  • this is an incremental step towards that goal.

@breskeby breskeby self-assigned this Mar 10, 2021
@breskeby breskeby added :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.13.0 v8.0.0 labels Mar 10, 2021
@breskeby breskeby changed the title Port more plugins from groovy to java Port more Gradle build logic from groovy to java Mar 10, 2021
@breskeby breskeby changed the title Port more Gradle build logic from groovy to java Port more gradle build logic from groovy to java Mar 10, 2021
@breskeby breskeby force-pushed the port-build-logic-java branch from 6cb4a7e to 74aae2d Compare March 11, 2021 08:39
@breskeby breskeby marked this pull request as ready for review March 11, 2021 09:08
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

throw new InvalidUserDataException("classname is a required setting for esplugin");
}

Map<String, Object> map = new LinkedHashMap<>(12);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be a LinkedHashMap?

output.append("\n\n");
// This is a map rather than a set so that the sort order is the 3rd
// party component names, unaffected by the full path to the various files
final Map<String, File> seen = new TreeMap<String, File>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Tiny nit-pick:

Suggested change
final Map<String, File> seen = new TreeMap<String, File>();
final Map<String, File> seen = new TreeMap<>();

Copy link
Contributor

@pugnascotia pugnascotia left a comment

Choose a reason for hiding this comment

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

LGTM, couple of minor comments that you could ignore.

breskeby and others added 3 commits March 11, 2021 13:55
Co-authored-by: Rory Hunter <pugnascotia@users.noreply.github.com>
Co-authored-by: Rory Hunter <pugnascotia@users.noreply.github.com>
@breskeby breskeby merged commit 9a342fc into elastic:master Mar 11, 2021
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Apr 14, 2021
* Port more plugins from groovy to java
- In general we want to move all production build logic to java
- this is an incremental step towards that goal.
breskeby added a commit that referenced this pull request Apr 14, 2021
…) (#71673)

- Port more plugins from groovy to java
- In general we want to move all production build logic to java
- this is an incremental step towards that goal.
@breskeby breskeby deleted the port-build-logic-java branch December 10, 2024 14:06
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 >enhancement Team:Delivery Meta label for Delivery team v7.13.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants