Skip to content

Commit 51da946

Browse files
Disable publishing the test project (#317)
* Disable publishing the test project * PubNub SDK v10.2.1 release. --------- Co-authored-by: PubNub Release Bot <[email protected]>
1 parent e117611 commit 51da946

File tree

9 files changed

+27
-123
lines changed

9 files changed

+27
-123
lines changed

.pubnub.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: kotlin
2-
version: 10.2.0
2+
version: 10.2.1
33
schema: 1
44
scm: github.com/pubnub/kotlin
55
files:
6-
- build/libs/pubnub-kotlin-10.2.0-all.jar
6+
- build/libs/pubnub-kotlin-10.2.1-all.jar
77
sdks:
88
-
99
type: library
@@ -23,8 +23,8 @@ sdks:
2323
-
2424
distribution-type: library
2525
distribution-repository: maven
26-
package-name: pubnub-kotlin-10.2.0
27-
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.2.0/pubnub-kotlin-10.2.0.jar
26+
package-name: pubnub-kotlin-10.2.1
27+
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.2.1/pubnub-kotlin-10.2.1.jar
2828
supported-platforms:
2929
supported-operating-systems:
3030
Android:
@@ -114,6 +114,11 @@ sdks:
114114
license-url: https://www.apache.org/licenses/LICENSE-2.0.txt
115115
is-required: Required
116116
changelog:
117+
- date: 2024-12-03
118+
version: v10.2.1
119+
changes:
120+
- type: improvement
121+
text: "Internal changes in preparation for other releases."
117122
- date: 2024-11-18
118123
version: v10.2.0
119124
changes:

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v10.2.1
2+
December 03 2024
3+
4+
#### Modified
5+
- Internal changes in preparation for other releases.
6+
17
## v10.2.0
28
November 18 2024
39

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2020
<dependency>
2121
<groupId>com.pubnub</groupId>
2222
<artifactId>pubnub-kotlin</artifactId>
23-
<version>10.2.0</version>
23+
<version>10.2.1</version>
2424
</dependency>
2525
```
2626

build-logic/gradle-plugins/src/main/kotlin/com/pubnub/gradle/PubNubSharedPlugin.kt

+8-7
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ import org.jlleitschuh.gradle.ktlint.KtlintPlugin
1616
class PubNubSharedPlugin : Plugin<Project> {
1717
override fun apply(target: Project) {
1818
with(target) {
19-
apply<MavenPublishPlugin>()
20-
apply<KtlintPlugin>()
21-
22-
extensions.configure<PublishingExtension> {
23-
repositories {
24-
it.maven(uri(rootProject.layout.buildDirectory.dir("repo"))) { ->
25-
name = "repo"
19+
if (!target.name.endsWith("-test")) {
20+
apply<MavenPublishPlugin>()
21+
extensions.configure<PublishingExtension> {
22+
repositories {
23+
it.maven(uri(rootProject.layout.buildDirectory.dir("repo"))) { ->
24+
name = "repo"
25+
}
2626
}
2727
}
2828
}
29+
apply<KtlintPlugin>()
2930

3031
group = providers.gradleProperty("GROUP").get()
3132
version = providers.gradleProperty("VERSION_NAME").get()

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RELEASE_SIGNING_ENABLED=true
1818
SONATYPE_HOST=DEFAULT
1919
SONATYPE_AUTOMATIC_RELEASE=false
2020
GROUP=com.pubnub
21-
VERSION_NAME=10.2.0
21+
VERSION_NAME=10.2.1
2222
POM_PACKAGING=jar
2323

2424
POM_NAME=PubNub SDK

pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/api/legacy/PubNubImplTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class PubNubImplTest : BaseTest() {
5656
fun getVersionAndTimeStamp() {
5757
val version = PubNubImpl.SDK_VERSION
5858
val timeStamp = PubNubImpl.timestamp()
59-
assertEquals("10.2.0", version)
59+
assertEquals("10.2.1", version)
6060
assertTrue(timeStamp > 0)
6161
}
6262

pubnub-kotlin/pubnub-kotlin-test/PubNubKMPTest.podspec

-54
This file was deleted.

pubnub-kotlin/pubnub-kotlin-test/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import java.util.Properties
44

55
plugins {
66
alias(libs.plugins.benmanes.versions)
7-
alias(libs.plugins.codingfeline.buildkonfig)
87
id("pubnub.shared")
98
id("pubnub.ios-simulator-test")
109
id("pubnub.base.multiplatform")
10+
alias(libs.plugins.codingfeline.buildkonfig)
1111
}
1212

1313
kotlin {

pubnub-kotlin/pubnub-kotlin-test/pubnub_kotlin_test.podspec

-54
This file was deleted.

0 commit comments

Comments
 (0)