Skip to content

Commit

Permalink
Merge pull request #7 from solana-mobile/fix-artifact-naming-1
Browse files Browse the repository at this point in the history
Fix Artifact naming
  • Loading branch information
Funkatronics authored Jan 10, 2024
2 parents 7e46972 + 824d15f commit 441cbd6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kotlin.js.compiler=ir
# Group name and project version, used when publishing. For official releases, the version should be
# provided to Gradle via '-P version="1.0"'.
group=com.solanamobile
artifactId=rpc-core
artifactIdPrefix=rpc
version=main-SNAPSHOT

SONATYPE_HOST=S01
Expand Down
4 changes: 2 additions & 2 deletions okiodriver/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
id("com.vanniktech.maven.publish")
}

val artifactId: String by project
val moduleArtifactId = "$artifactId-okiodriver"
val artifactIdPrefix: String by project
val moduleArtifactId = "$artifactIdPrefix-okiodriver"

kotlin {
jvm {
Expand Down
7 changes: 4 additions & 3 deletions rpccore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ plugins {
id("com.vanniktech.maven.publish")
}

val artifactId: String by project
val artifactIdPrefix: String by project
val moduleArtifactId = "$artifactIdPrefix-core"

kotlin {
jvm {
Expand All @@ -22,7 +23,7 @@ kotlin {
macosArm64()
).forEach {
it.binaries.framework {
baseName = artifactId
baseName = moduleArtifactId
}
}
// js(BOTH) {
Expand Down Expand Up @@ -65,5 +66,5 @@ kotlin {
}

mavenPublishing {
coordinates(group as String, artifactId, version as String)
coordinates(group as String, moduleArtifactId, version as String)
}

0 comments on commit 441cbd6

Please sign in to comment.