Skip to content

Commit

Permalink
Merge pull request #5 from solana-mobile/revert-4-fix-artifact-naming
Browse files Browse the repository at this point in the history
Revert "correct artifact ids"
  • Loading branch information
Funkatronics authored Jan 10, 2024
2 parents 3387263 + 2504456 commit 7e46972
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 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
artifactIdPrefix=rpc
artifactId=rpc-core
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 artifactIdPrefix: String by project
val moduleArtifactId = "$artifactIdPrefix-core"
val artifactId: String by project
val moduleArtifactId = "$artifactId-okiodriver"

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

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

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

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

0 comments on commit 7e46972

Please sign in to comment.