File tree 14 files changed +47
-36
lines changed
dSYMs/YChat.framework.dSYM/Contents/Resources/DWARF
ios-arm64_x86_64-simulator
dSYMs/YChat.framework.dSYM/Contents
macos-arm64_x86_64/YChat.framework/Versions
14 files changed +47
-36
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ repositories {
59
59
Then, simply import the dependency to your ` build.gradle ` dependencies:
60
60
61
61
``` kotlin
62
- implementation(" co.yml:ychat:1.4.0 " )
62
+ implementation(" co.yml:ychat:1.4.1 " )
63
63
```
64
64
65
65
Take a look at the Kotlin code snippet below for an example of how to initialize and use one of the supported features:
Original file line number Diff line number Diff line change 5
5
<key >AvailableLibraries </key >
6
6
<array >
7
7
<dict >
8
- <key >DebugSymbolsPath </key >
9
- <string >dSYMs </string >
10
8
<key >LibraryIdentifier </key >
11
- <string >ios-arm64 </string >
9
+ <string >macos-arm64_x86_64 </string >
12
10
<key >LibraryPath </key >
13
11
<string >YChat.framework </string >
14
12
<key >SupportedArchitectures </key >
15
13
<array >
16
14
<string >arm64 </string >
15
+ <string >x86_64 </string >
17
16
</array >
18
17
<key >SupportedPlatform </key >
19
- <string >ios </string >
18
+ <string >macos </string >
20
19
</dict >
21
20
<dict >
21
+ <key >DebugSymbolsPath </key >
22
+ <string >dSYMs </string >
22
23
<key >LibraryIdentifier </key >
23
- <string >macos-arm64_x86_64 </string >
24
+ <string >ios-arm64 </string >
24
25
<key >LibraryPath </key >
25
26
<string >YChat.framework </string >
26
27
<key >SupportedArchitectures </key >
27
28
<array >
28
29
<string >arm64 </string >
29
- <string >x86_64 </string >
30
30
</array >
31
31
<key >SupportedPlatform </key >
32
- <string >macos </string >
32
+ <string >ios </string >
33
33
</dict >
34
34
<dict >
35
- <key >DebugSymbolsPath </key >
36
- <string >dSYMs </string >
37
35
<key >LibraryIdentifier </key >
38
36
<string >ios-arm64_x86_64-simulator </string >
39
37
<key >LibraryPath </key >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ tasks.register("checkSwiftPackageVersion") {
6
6
description = " Checks if the Swift package has the updated version by comparing it with the current library version."
7
7
doLast {
8
8
val iosLibraryName = properties[" IOS_NAME" ]
9
- val libraryVersion = properties[" VERSION_NAME " ]
9
+ val libraryVersion = properties[" LIBRARY_VERSION " ]
10
10
val iosPackage = " $iosLibraryName -$libraryVersion .zip"
11
11
val filePath = File (rootProject.rootDir, iosPackage)
12
12
if (! filePath.exists()) {
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ android.nonTransitiveRClass=true
9
9
kotlin.mpp.enableCInteropCommonization =true
10
10
11
11
# Lib
12
- GROUP =co.yml
13
- POM_ARTIFACT_ID =ychat
14
- VERSION_NAME =1.4.0
12
+ LIBRARY_VERSION =1.4.1
15
13
IOS_NAME =YChat
16
14
17
15
# OSS
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
4
4
id(" io.gitlab.arturbosch.detekt" )
5
5
id(" org.jlleitschuh.gradle.ktlint" )
6
6
id(" org.jetbrains.kotlinx.kover" )
7
+ id(" com.vanniktech.maven.publish" )
7
8
}
8
9
9
10
kover {
@@ -40,7 +41,6 @@ kotlin {
40
41
api(Dependencies .Network .KTOR_SERIALIZATION )
41
42
api(Dependencies .Network .KTOR_CORE )
42
43
api(Dependencies .Network .KTOR_LOGGING )
43
- api(Dependencies .DI .KOIN_CORE )
44
44
}
45
45
}
46
46
val commonTest by getting {
@@ -102,3 +102,31 @@ android {
102
102
targetSdk = Config .TARGET_SDK_VERSION
103
103
}
104
104
}
105
+
106
+ mavenPublishing {
107
+ coordinates(" co.yml" , " ychat-core" , properties[" LIBRARY_VERSION" ].toString())
108
+ pom {
109
+ developers {
110
+ developer {
111
+ id.set(" osugikoji" )
112
+ name.set(" Koji Osugi" )
113
+ url.set(" https://github.com/osugikoji" )
114
+ }
115
+ developer {
116
+ id.set(" renatoarg" )
117
+ name.set(" Renato Goncalves" )
118
+ url.set(" https://github.com/renatoarg" )
119
+ }
120
+ developer {
121
+ id.set(" kikoso" )
122
+ name.set(" Enrique López Mañas" )
123
+ url.set(" https://github.com/kikoso" )
124
+ }
125
+ developer {
126
+ id.set(" samirma" )
127
+ name.set(" Samir Moreira Antonio" )
128
+ url.set(" https://github.com/samirma" )
129
+ }
130
+ }
131
+ }
132
+ }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ kover {
23
23
}
24
24
25
25
val iosLibraryName = properties[" IOS_NAME" ].toString()
26
- version = properties[" VERSION_NAME " ].toString()
26
+ version = properties[" LIBRARY_VERSION " ].toString()
27
27
28
28
multiplatformSwiftPackage {
29
29
packageName(iosLibraryName)
@@ -53,6 +53,7 @@ kotlin {
53
53
sourceSets {
54
54
val commonMain by getting {
55
55
dependencies {
56
+ implementation(Dependencies .DI .KOIN_CORE )
56
57
implementation(project(" :ychat-core" ))
57
58
}
58
59
}
@@ -114,6 +115,7 @@ android {
114
115
}
115
116
116
117
mavenPublishing {
118
+ coordinates(" co.yml" , " ychat" , properties[" LIBRARY_VERSION" ].toString())
117
119
pom {
118
120
developers {
119
121
developer {
@@ -131,6 +133,11 @@ mavenPublishing {
131
133
name.set(" Enrique López Mañas" )
132
134
url.set(" https://github.com/kikoso" )
133
135
}
136
+ developer {
137
+ id.set(" samirma" )
138
+ name.set(" Samir Moreira Antonio" )
139
+ url.set(" https://github.com/samirma" )
140
+ }
134
141
}
135
142
}
136
143
}
You can’t perform that action at this time.
0 commit comments