Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

blasten
Copy link

@blasten blasten commented Mar 12, 2020

I found that it's very hard to update the embedding dependencies. The current approach requires to manually find the transitive dependencies as well as extracting jar from AARs since gn/javac doesn't support AARs like Gradle.

I'm proposing to change that approach to defining the dependencies in Gradle itself, then configure a Gradle task that downloads each of the artifacts (including transitive ones) and finally extracts jars from AARs so they can be used in gn.

We currently have a cipd package used exclusively for testing. Instead, we will have a single package that has all the JARs required to compile and test the embedding.

I'm also looking into generating the embedding POM file from these dependencies as well.

@auto-assign auto-assign bot requested a review from gaaclarke March 12, 2020 19:37
@blasten blasten requested review from xster and dnfield March 12, 2020 19:37
Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM! Very nice thanks!

@dnfield
Copy link
Contributor

dnfield commented Mar 12, 2020

/cc @mklim who was the last to touch this and @matthew-carroll who I think would appreciate this.

@matthew-carroll
Copy link
Contributor

@blasten are you telling me that we could have done this 6 months ago but we made me trace down those transitive dependencies for nothing??!!!

@blasten
Copy link
Author

blasten commented Mar 14, 2020

@matthew-carroll basically, yes. I tried it and after 2 hours of retries I gave up. 🤯

@xster
Copy link
Member

xster commented Apr 9, 2020

quick boys, Matt's gone. We can dismantle all the torture devices now 🤣

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants