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

Fix readme, fix publish issue #152

Merged
merged 7 commits into from
Feb 8, 2024
Merged

Fix readme, fix publish issue #152

merged 7 commits into from
Feb 8, 2024

Conversation

jiyoontbd
Copy link
Contributor

@jiyoontbd jiyoontbd commented Feb 7, 2024

closes #153

also bumping all instances of jackson dependencies to be the same 2.14.2

@@ -151,7 +151,7 @@ tasks.dokkaHtmlMultiModule {

publishing {
publications {
create<MavenPublication>("tbdex") {
create<MavenPublication>(rootProject.name) {
groupId = project.group.toString()
artifactId = name
description = "Kotlin SDK for tbdex functionality"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

thinking i should somehow enable us to package all 3 projects exported under 1 name - tbdex. looking into shadow jars

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nvm found how to do it here

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

Merging #152 (3cacebe) into main (0d7005c) will increase coverage by 0.40%.
Report is 3 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
+ Coverage   76.94%   77.34%   +0.40%     
==========================================
  Files          33       33              
  Lines         785      799      +14     
  Branches       80       80              
==========================================
+ Hits          604      618      +14     
  Misses        134      134              
  Partials       47       47              
Components Coverage Δ
protocol 84.08% <100.00%> (+0.54%) ⬆️
httpclient 78.43% <ø> (ø)

…adle.kts to include dependencies so we can publish rollup
@jiyoontbd jiyoontbd changed the title Fix readme Fix readme, fix publish issue Feb 8, 2024
@@ -20,6 +21,9 @@ repositories {
}

dependencies {
api(project(":protocol"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we needed these to actually get all 3 subprojects when we pull in tbdex as a dependency

val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications[publicationName])
if (!project.hasProperty("skipSigning") || project.property("skipSigning") != "true") {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

adding this allows you to build artifacts locally even without a signing key and password like this

./gradlew publishToMavenLocal -PskipSigning=true -Pversion={your-local-version-name}

Copy link
Member

@mistermoe mistermoe left a comment

Choose a reason for hiding this comment

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

Awesome work @jiyoontbd !

README.md Outdated
maven("https://jitpack.io")
maven("https://repo.danubetech.com/repository/maven-public/")
}

dependencies {
implementation("com.github.TBD54566975:tbdex:0.4.0-beta")
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to update this to reflect the new group id and version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh yea. i missed this in merge conflict fix. ty!

@mistermoe mistermoe merged commit 0a63199 into main Feb 8, 2024
5 of 7 checks passed
@mistermoe mistermoe deleted the fix-readme branch February 8, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

empty package is published to maven
2 participants