From db0dc774d36645d5f91c533797107a3993f8ce11 Mon Sep 17 00:00:00 2001 From: funkatronics Date: Wed, 16 Aug 2023 15:51:05 -0600 Subject: [PATCH] fix publishing? --- build.gradle.kts | 4 ++-- gradle.properties | 6 +++--- okiodriver/build.gradle.kts | 5 +++++ rpccore/build.gradle.kts | 5 +++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index dafde58..2d6bec5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - kotlin("multiplatform").version("1.9.0").apply(false) - id("com.vanniktech.maven.publish") version "0.25.3" + kotlin("multiplatform") version "1.9.0" apply false + id("com.vanniktech.maven.publish") version "0.25.3" apply false } //tasks.register("clean", Delete::class) { diff --git a/gradle.properties b/gradle.properties index e21ed3c..167905c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,9 +8,9 @@ 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 +#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 diff --git a/okiodriver/build.gradle.kts b/okiodriver/build.gradle.kts index 78766ef..5e9c61f 100644 --- a/okiodriver/build.gradle.kts +++ b/okiodriver/build.gradle.kts @@ -1,5 +1,6 @@ plugins { kotlin("multiplatform") + id("com.vanniktech.maven.publish") } group = "io.github.funkatronics" @@ -33,3 +34,7 @@ kotlin { val jvmTest by getting } } + +mavenPublishing { + coordinates("io.github.funkatronics", "rpccore-okiodriver", "0.1.0-SNAPSHOT") +} diff --git a/rpccore/build.gradle.kts b/rpccore/build.gradle.kts index 20ba1b9..10212e0 100644 --- a/rpccore/build.gradle.kts +++ b/rpccore/build.gradle.kts @@ -1,6 +1,7 @@ plugins { kotlin("multiplatform") kotlin("plugin.serialization") version "1.9.0" + id("com.vanniktech.maven.publish") } group = "io.github.funkatronics" @@ -52,3 +53,7 @@ kotlin { // val nativeTest by getting } } + +mavenPublishing { + coordinates("io.github.funkatronics", "rpccore", "0.1.0-SNAPSHOT") +}