Skip to content

Commit

Permalink
Disable publishing the test project (#317)
Browse files Browse the repository at this point in the history
* Disable publishing the test project

* PubNub SDK v10.2.1 release.

---------

Co-authored-by: PubNub Release Bot <[email protected]>
  • Loading branch information
wkal-pubnub and pubnub-release-bot authored Dec 3, 2024
1 parent e117611 commit 51da946
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 123 deletions.
13 changes: 9 additions & 4 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: kotlin
version: 10.2.0
version: 10.2.1
schema: 1
scm: github.com/pubnub/kotlin
files:
- build/libs/pubnub-kotlin-10.2.0-all.jar
- build/libs/pubnub-kotlin-10.2.1-all.jar
sdks:
-
type: library
Expand All @@ -23,8 +23,8 @@ sdks:
-
distribution-type: library
distribution-repository: maven
package-name: pubnub-kotlin-10.2.0
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.2.0/pubnub-kotlin-10.2.0.jar
package-name: pubnub-kotlin-10.2.1
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.2.1/pubnub-kotlin-10.2.1.jar
supported-platforms:
supported-operating-systems:
Android:
Expand Down Expand Up @@ -114,6 +114,11 @@ sdks:
license-url: https://www.apache.org/licenses/LICENSE-2.0.txt
is-required: Required
changelog:
- date: 2024-12-03
version: v10.2.1
changes:
- type: improvement
text: "Internal changes in preparation for other releases."
- date: 2024-11-18
version: v10.2.0
changes:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v10.2.1
December 03 2024

#### Modified
- Internal changes in preparation for other releases.

## v10.2.0
November 18 2024

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
<dependency>
<groupId>com.pubnub</groupId>
<artifactId>pubnub-kotlin</artifactId>
<version>10.2.0</version>
<version>10.2.1</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ import org.jlleitschuh.gradle.ktlint.KtlintPlugin
class PubNubSharedPlugin : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
apply<MavenPublishPlugin>()
apply<KtlintPlugin>()

extensions.configure<PublishingExtension> {
repositories {
it.maven(uri(rootProject.layout.buildDirectory.dir("repo"))) { ->
name = "repo"
if (!target.name.endsWith("-test")) {
apply<MavenPublishPlugin>()
extensions.configure<PublishingExtension> {
repositories {
it.maven(uri(rootProject.layout.buildDirectory.dir("repo"))) { ->
name = "repo"
}
}
}
}
apply<KtlintPlugin>()

group = providers.gradleProperty("GROUP").get()
version = providers.gradleProperty("VERSION_NAME").get()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RELEASE_SIGNING_ENABLED=true
SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=false
GROUP=com.pubnub
VERSION_NAME=10.2.0
VERSION_NAME=10.2.1
POM_PACKAGING=jar

POM_NAME=PubNub SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PubNubImplTest : BaseTest() {
fun getVersionAndTimeStamp() {
val version = PubNubImpl.SDK_VERSION
val timeStamp = PubNubImpl.timestamp()
assertEquals("10.2.0", version)
assertEquals("10.2.1", version)
assertTrue(timeStamp > 0)
}

Expand Down
54 changes: 0 additions & 54 deletions pubnub-kotlin/pubnub-kotlin-test/PubNubKMPTest.podspec

This file was deleted.

2 changes: 1 addition & 1 deletion pubnub-kotlin/pubnub-kotlin-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import java.util.Properties

plugins {
alias(libs.plugins.benmanes.versions)
alias(libs.plugins.codingfeline.buildkonfig)
id("pubnub.shared")
id("pubnub.ios-simulator-test")
id("pubnub.base.multiplatform")
alias(libs.plugins.codingfeline.buildkonfig)
}

kotlin {
Expand Down
54 changes: 0 additions & 54 deletions pubnub-kotlin/pubnub-kotlin-test/pubnub_kotlin_test.podspec

This file was deleted.

0 comments on commit 51da946

Please sign in to comment.