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 publishing coordinates #16

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
kotlin.code.style=official
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=io.github.funkatronics
artifactId=rpccore
version=main-SNAPSHOT

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

SONATYPE_AUTOMATIC_RELEASE=true
SONATYPE_CONNECT_TIMEOUT_SECONDS=60
SONATYPE_CLOSE_TIMEOUT_SECONDS=900

#GROUP=io.github.funkatronics
#POM_ARTIFACT_ID=rpccore
#VERSION_NAME=0.1.0-SNAPSHOT

POM_NAME=RpcCore
POM_DESCRIPTION=Multiplatform JSON RPC Library using Kotlin Serialization
POM_INCEPTION_YEAR=2023
Expand Down
6 changes: 3 additions & 3 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")
}

group = "io.github.funkatronics"
version = "0.1.0"
val baseArtifactId: String by project
val artifactId: String = "$baseArtifactId-okiodriver"

kotlin {
jvm {
Expand Down Expand Up @@ -34,5 +34,5 @@ kotlin {
}

mavenPublishing {
coordinates("io.github.funkatronics", "rpccore-okiodriver", "0.1.0")
coordinates(group as String, artifactId, version as String)
}
5 changes: 2 additions & 3 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")
}

group = "io.github.funkatronics"
version = "0.2.0"
val artifactId: String by project

kotlin {
jvm {
Expand Down Expand Up @@ -66,5 +65,5 @@ kotlin {
}

mavenPublishing {
coordinates("io.github.funkatronics", "rpccore", "0.2.0")
coordinates(group as String, artifactId, version as String)
}
Loading