Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Split libraries into independent Gradle projects #93

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

thunderbiscuit
Copy link
Member

@thunderbiscuit thunderbiscuit commented Sep 14, 2022

Description

This PR refactors the repository into two directories, each containing separate libraries as completely independent Gradle builds/projects.

Note that in order to be really careful I fixed the CI publishing workflow but brought it back to simply publishing to the staging repository (it's easy to make a typo and send the compiled binaries to the wrong directory) so that we can check them and see that everything is in the right place before publishing if we trigger the workflow and everything works well we can just make a quick fix that does the full publishing and merge that on the day of the release.

Notes to the reviewers

This is a big refactor so I want to make sure I think of everything:

  • Readme
  • Custom plugins build both libraries correctly
  • Build scripts all work
  • CI
  • Other "community" files

Checklists

@thunderbiscuit
Copy link
Member Author

Question for you @notmandatory: do you think the license files should be added to each of the directories? It feels that way to me, just so there is no mistaking it (even though it's sort of obvious).

@thunderbiscuit thunderbiscuit force-pushed the split-libs branch 3 times, most recently from 414bb98 to 5450c08 Compare September 16, 2022 11:16
@@ -0,0 +1,16 @@
# Readme
The purpose of this directory is to host the Gradle plugin that add tasks for building the native binaries required by bdk-jvm, and building the language bindings files.
Copy link
Member

Choose a reason for hiding this comment

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

language nit

Suggested change
The purpose of this directory is to host the Gradle plugin that add tasks for building the native binaries required by bdk-jvm, and building the language bindings files.
The purpose of this directory is to host the Gradle plugin that adds tasks for building the native binaries required by bdk-jvm, and building the language bindings files.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch!

Copy link
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

ACK 5450c08

I found one very small language nit.. but other than that looks good. I locally tested the android and jvm build and test maven tasks on my Mac M1.

@notmandatory
Copy link
Member

Looks like you also may need to do a rebase.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants