Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Convert Gradle to Maven Build #219

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Convert Gradle to Maven Build #219

merged 5 commits into from
Apr 5, 2024

Conversation

ALRubinger
Copy link
Contributor

@ALRubinger ALRubinger commented Mar 29, 2024

Ready to go for review. Do not merge until the web5-kt PR below is merged and a proper release is cut there, and updated here.

I'll avoid repetition here. Reasoning and layout is same as extensively detailed in:

Deployed a Release Candidate build: https://blockxyz.jfrog.io/artifactory/tbd-oss-releases-maven2/xyz/block/tbdex/1.0.0-maven-rc-1/

This has been validated as working in developer.tbd.website:

Accomplishes the principal goal: make it so that consumers of tbdex-kt get versioning aligned with web5-kt without the need to do any manual dependency coordination by appdevs. Proven by the dev site testsuite POM: https://github.com/TBD54566975/developer.tbd.website/blob/alrubinger/tbdex-upgrade-v1-kt-maven/site/testsuites/testsuite-kotlin/pom.xml#L30

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@jiyoonie9 jiyoonie9 changed the title Introduce Maven Build Convert Gradle to Maven Build Apr 4, 2024
Copy link
Contributor

@jiyoonie9 jiyoonie9 left a comment

Choose a reason for hiding this comment

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

looks mostly consistent with your web5-kt pr, so same comments should apply here too!

README.md Outdated

* [`/protocol`](./protocol/) - create, parse, verify, and validate the tbdex messages and resources defined in
the [protocol draft specification](https://github.com/TBD54566975/tbdex/blob/main/specs/protocol/README.md)
* [`/httpclient`](./httpclient) - An HTTP client that can be used to send tbdex messages to PFIs
* [`/httpserver`](./httpserver) - Base implementation of a tbDEX HTTP server responsible for handling RFQs, orders, and other interactions

Copy link
Contributor

Choose a reason for hiding this comment

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

do we not get something like this for tbdex? i saw it in your web5-kt pr

* [tbdex](./tbdex) - The full tbdex platform

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted in one of my comments on this PR that we need to handle, yes - thx

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.

.github/workflows/release.yml Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

@ALRubinger
Copy link
Contributor Author

ALRubinger commented Apr 4, 2024

Must document in README: Updates to new web5-kt must be done in two places in the parent pom.xml: when defining the <parent>, and when defining <version.xyz.block.tbdex>.

AND also document in pom.xml that these two need to be changed together.

@ALRubinger
Copy link
Contributor Author

Add to README: note the distribution package.

* Add Maven Build
* Remove Gradle
* Build and tests passing
* Add distribution for single dependency to get all of tbDEX
* Update all GitHub Actions workflows
* Add Dokka API Documentation config and manual generation script
* Address @jiyoontbd PR feedback

Next:

* Validate with Dev Site
* Remove ALRubinger SCM config for publishing
* Remove comments on mvn deploy to Sonatype
* Remove comments on ci.yml for Publishing test vectors
@ALRubinger ALRubinger force-pushed the issue-204/maven-build branch from 4572271 to 4cee120 Compare April 5, 2024 10:20
@ALRubinger ALRubinger force-pushed the issue-204/maven-build branch from 4cee120 to 55d9a38 Compare April 5, 2024 10:22
Copy link
Contributor

@jiyoonie9 jiyoonie9 left a comment

Choose a reason for hiding this comment

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

🥳 🌟 🎉 🥇

@leordev leordev merged commit 145bfc5 into main Apr 5, 2024
8 checks passed
@leordev leordev deleted the issue-204/maven-build branch April 5, 2024 18:45
@ALRubinger ALRubinger mentioned this pull request Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants