@momo-kits/native-kits 0.162.0-debug → 0.162.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gradle.properties CHANGED
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.162.0
21
+ version=0.162.1
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.162.0-debug",
3
+ "version": "0.162.1",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},
@@ -1,186 +0,0 @@
1
- // import com.vanniktech.maven.publish.JavadocJar
2
- // import com.vanniktech.maven.publish.KotlinMultiplatform
3
- import org.jetbrains.kotlin.gradle.dsl.JvmTarget
4
-
5
- plugins {
6
- alias(libs.plugins.jetbrains.kotlin.multiplatform)
7
- alias(libs.plugins.android.library)
8
- alias(libs.plugins.compose)
9
- alias(libs.plugins.kotlin.compose.compiler)
10
- // alias(libs.plugins.vanniktech.mavenPublish)
11
- id(libs.plugins.jetbrains.kotlin.cocoapods.get().pluginId)
12
- kotlin("plugin.serialization")
13
- }
14
-
15
- val gitlabName: String? = findProperty("name") as String? ?: ""
16
- val gitlabRepo: String? = findProperty("repo") as String? ?: ""
17
- val gitlabUrl: String? = findProperty("url") as String? ?: ""
18
- val gitlabGroup: String? = findProperty("group") as String? ?: ""
19
- val gitlabArtifactId: String = findProperty("artifact.id") as String? ?: ""
20
- val gitlabVersion: String? = findProperty("version") as String? ?: ""
21
- val gitlabUser: String? = findProperty("gitlab.user") as String? ?: ""
22
- val gitlabKey: String? = findProperty("gitlab.password") as String? ?: ""
23
-
24
- kotlin {
25
- androidTarget {
26
- compilerOptions {
27
- jvmTarget.set(JvmTarget.JVM_17)
28
- }
29
- publishLibraryVariants("release")
30
- }
31
-
32
- val fwName = gitlabArtifactId
33
- val iosTargets = listOf(iosArm64(), iosSimulatorArm64())
34
- iosTargets.forEach {
35
- it.binaries.framework {
36
- baseName = fwName
37
- binaryOption("bundleId", "$gitlabGroup.$fwName")
38
- isStatic = true
39
- }
40
- }
41
-
42
- cocoapods {
43
- version = "0.161.0-debug"
44
- summary = "IOS Shared module"
45
- homepage = "https://momo.vn"
46
- ios.deploymentTarget = "15.0"
47
-
48
- framework {
49
- baseName = fwName
50
- isStatic = true
51
- }
52
-
53
- pod("lottie-ios") {
54
- moduleName = "Lottie"
55
- version = "4.4.3"
56
- extraOpts += listOf("-compiler-option", "-fmodules")
57
- }
58
- }
59
-
60
- sourceSets {
61
- commonMain.dependencies {
62
- implementation(compose.runtime)
63
- implementation(compose.material)
64
- implementation(compose.material3)
65
- implementation(compose.components.resources)
66
- implementation(libs.compose.ui.backhandler)
67
- implementation(libs.ktor.client.core)
68
- implementation(libs.jetbrains.coroutines.core)
69
- implementation(libs.navigation.multiplatform)
70
- implementation(libs.coil.multiplatform.compose)
71
- implementation(libs.coil.multiplatform.core)
72
- implementation(libs.coil.multiplatform.network.ktor)
73
- implementation(libs.jetbrains.serialization.json)
74
- implementation(libs.kotlinx.datetime)
75
- api(libs.native.max.api)
76
- implementation(libs.compottie)
77
- }
78
- androidMain.dependencies {
79
- implementation(libs.ktor.client.okhttp)
80
- implementation(libs.airbnb.lottie)
81
- }
82
- iosMain.dependencies {
83
- implementation(libs.ktor.client.darwin)
84
- }
85
- }
86
- }
87
-
88
- android {
89
- namespace = "vn.momo.kits.kits"
90
- compileSdk = 35
91
- compileOptions {
92
- sourceCompatibility = JavaVersion.VERSION_17
93
- targetCompatibility = JavaVersion.VERSION_17
94
- }
95
- defaultConfig {
96
- minSdk = 24
97
- }
98
- }
99
-
100
- dependencies {
101
- }
102
-
103
- repositories {
104
- google {
105
- mavenContent {
106
- includeGroupAndSubgroups("androidx")
107
- includeGroupAndSubgroups("com.android")
108
- includeGroupAndSubgroups("com.google")
109
- }
110
- }
111
- mavenCentral()
112
- maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
113
- maven {
114
- url = uri("https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven")
115
- credentials {username = "download_packages"; password = "gldt-bjDqLpU_sPcHDuXau2ws" }
116
- }
117
- maven {
118
- url = uri("https://artifacts.mservice.com.vn/repository/maven-momo-app/")
119
- credentials {
120
- username = "viewer"
121
- password = "viewer"
122
- }
123
- isAllowInsecureProtocol = true
124
- }
125
- }
126
-
127
- compose {
128
- resources {
129
- publicResClass = true
130
- packageOfResClass = "vn.momo.uikits.resources"
131
- generateResClass = always
132
- }
133
- }
134
-
135
- // publishing {
136
- // repositories {
137
- // maven {
138
- // name = "${gitlabRepo}Packages"
139
- // credentials {
140
- // username = gitlabUser
141
- // password = gitlabKey
142
- // }
143
- // url = uri("$gitlabUrl")
144
- // }
145
- // }
146
- // }
147
-
148
- // mavenPublishing {
149
- // configure(
150
- // KotlinMultiplatform(
151
- // javadocJar = JavadocJar.Empty(),
152
- // sourcesJar = true,
153
- // androidVariantsToPublish = listOf("release")
154
- // )
155
- // )
156
- //
157
- // repositories {
158
- // maven {
159
- // name = "${gitlabRepo}Packages"
160
- // credentials { username = gitlabUser; password = gitlabKey }
161
- // url = uri("$gitlabUrl")
162
- // }
163
- // }
164
- //
165
- // coordinates(gitlabGroup.toString(), gitlabArtifactId, gitlabVersion.toString())
166
- //
167
- // pom {
168
- // name = "$gitlabName Klib"
169
- // description = "$gitlabName"
170
- // url = "https://gitlab.mservice.com.vn"
171
- // licenses {
172
- // license {
173
- // name = "The Apache License, Version 2.0"
174
- // url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
175
- // distribution = "https://www.apache.org/licenses/LICENSE-2.0.txt"
176
- // }
177
- // }
178
- // developers {
179
- // developer {
180
- // id = "kotlin-hands-on"
181
- // name = "Kotlin Developer Advocate"
182
- // url = "https://github.com/kotlin-hands-on/"
183
- // }
184
- // }
185
- // }
186
- // }