diff --git a/README.md b/README.md index b9aaad0..9271980 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ Currently supported platforms are: - Kotlin/JVM - Android - iOS +- watchOS +- tvOS +- macOS ## Getting started @@ -49,17 +52,6 @@ client.sendFeedback("This is a test feedback from Feedback SDK for Kotlin Multip The following are notes for local development of the SDK and publishing updates. -Create or update gradle.properties file in the root of the project with the following content: - -``` -signing.keyId=... -signing.password=... -signing.secretKeyRingFile=.... -mavenCentralUsername=... -mavenCentralPassword=... -``` - -DO NOT CHECK THIS IN! - +Create or update gradle.properties file in the root of the project. To publish a new version, run `./gradlew publishAndReleaseToMavenCentral --no-configuration-cache` \ No newline at end of file diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index f5a8a9f..65a821b 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -4,7 +4,7 @@ plugins { allprojects { group = "com.feedbackbulb" - version = "0.0.3" + version = "0.0.4" } nexusPublishing { diff --git a/core-sdk/build.gradle.kts b/core-sdk/build.gradle.kts index 38fbce5..9ac4e76 100644 --- a/core-sdk/build.gradle.kts +++ b/core-sdk/build.gradle.kts @@ -1,4 +1,5 @@ import com.vanniktech.maven.publish.SonatypeHost +//import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework plugins { alias(libs.plugins.kotlinMultiplatform) @@ -19,11 +20,43 @@ kotlin { } } } - + +// val xcframeworkName = "FeedbackbulbCoreSDK" +// val xcf = XCFramework(xcframeworkName) +// +// listOf( +// iosX64(), +// iosArm64(), +// iosSimulatorArm64(), +// watchosX64(), +// watchosArm64(), +// watchosSimulatorArm64(), +// macosX64(), +// macosArm64(), +// tvosX64(), +// tvosArm64(), +// tvosSimulatorArm64(), +// ).forEach { +// it.binaries.framework { +// baseName = xcframeworkName +// binaryOption("bundleId", "com.feedbackbulb.${xcframeworkName}") +// xcf.add(this) +// isStatic = true +// } +// } + listOf( iosX64(), iosArm64(), - iosSimulatorArm64() + iosSimulatorArm64(), + watchosX64(), + watchosArm64(), + watchosSimulatorArm64(), + macosX64(), + macosArm64(), + tvosX64(), + tvosArm64(), + tvosSimulatorArm64(), ).forEach { it.binaries.framework { baseName = "core-sdk" @@ -72,7 +105,7 @@ mavenPublishing { coordinates( groupId = "com.feedbackbulb", artifactId = "core-sdk", - version = "0.0.3" + version = "0.0.4" ) // Configure POM metadata for the published artifact