Skip to content

Commit

Permalink
DO-1982: fix maven publication errors (#79)
Browse files Browse the repository at this point in the history
* add javadocs

* add missing bits to the maven publication

* generate javadocs and sources
  • Loading branch information
balda-rdx authored Nov 1, 2023
1 parent e5fef1c commit fcd8536
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ jobs:
- name: Build and publish Kotlin
uses: gradle/gradle-build-action@v2
with:
arguments: build publishMavenCentralPublicationToMavenCentralRepository -Psigning.secretKeyRingFile=rdx-secring.gpg -Psigning.password=${{ env.GPG_PASSPHRASE_GPG_PASSPHRASE }} -Psigning.keyId=${{ secrets.GPG_KEY_ID }} -PossrhUsername=${{ env.MAVEN_CENTRAL_MAVEN_CENTRAL_USERNAME }} -PossrhPassword=${{ env.MAVEN_CENTRAL_MAVEN_CENTRAL_PASSWORD }}
arguments: build javadoc publishMavenCentralPublicationToMavenCentralRepository -Psigning.secretKeyRingFile=rdx-secring.gpg -Psigning.password=${{ env.GPG_PASSPHRASE_GPG_PASSPHRASE }} -Psigning.keyId=${{ secrets.GPG_KEY_ID }} -PossrhUsername=${{ env.MAVEN_CENTRAL_MAVEN_CENTRAL_USERNAME }} -PossrhPassword=${{ env.MAVEN_CENTRAL_MAVEN_CENTRAL_PASSWORD }}
build-root-directory: interop/kotlin/ret-kotlin
publish-android-maven:
needs: [build, generate-uniffi-bindings]
Expand Down
17 changes: 17 additions & 0 deletions interop/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
withJavadocJar()
withSourcesJar()
}

publishing {
Expand All @@ -37,6 +39,21 @@ publishing {

from(components["java"])
pom {
name = "Radix Engine Toolkit"
description = "The Radix Engine Toolkit is a library that exposes a set of functions to help clients written in kotlin to compile and decompile transactions, perform SBOR encoding and decoding, derive virtual account and virtual badge addresses, and other functionalities"
url = "https://github.com/radixdlt/radix-engine-toolkit"
developers {
developer {
id = "0xOmarA"
name = "Omar Abdulla"
email = "[email protected]"
}
}
scm {
connection = "scm:git:git://github.com:radixdlt/radix-engine-toolkit.git"
developerConnection = "scm:git:ssh://github.com:radixdlt/radix-engine-toolkit.git"
url = "https://github.com/radixdlt/radix-engine-toolkit.git"
}
licenses {
license {
name = "Apache License, Version 2.0"
Expand Down

0 comments on commit fcd8536

Please sign in to comment.