@momo-kits/native-kits 0.153.1-newsfeed.5 → 0.153.1-newsfeed.6

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/build.gradle.kts CHANGED
@@ -11,6 +11,16 @@ plugins {
11
11
  alias(libs.plugins.android.application) apply false
12
12
  }
13
13
 
14
+ repositories {
15
+ mavenLocal()
16
+ mavenCentral()
17
+ google()
18
+ maven {
19
+ url = uri("http://nexus.mservice.com.vn:8081/repository/maven-public/")
20
+ isAllowInsecureProtocol = true
21
+ }
22
+ }
23
+
14
24
  buildscript {
15
25
  repositories {
16
26
  maven("https://storage.googleapis.com/r8-releases/raw")
@@ -7,6 +7,19 @@ plugins {
7
7
  kotlin("plugin.serialization")
8
8
  id("maven-publish")
9
9
  }
10
+
11
+ allprojects {
12
+ repositories {
13
+ mavenLocal()
14
+ mavenCentral()
15
+ google()
16
+ maven {
17
+ url = uri("http://nexus.mservice.com.vn:8081/repository/maven-public/")
18
+ isAllowInsecureProtocol = true
19
+ }
20
+ }
21
+ }
22
+
10
23
  fun getVersionFromPackageJson(): String {
11
24
  val packageJsonFile = file("../package.json")
12
25
  val packageJsonText = packageJsonFile.readText()
@@ -2,7 +2,8 @@ package vn.momo.kits.components.datetimepicker
2
2
 
3
3
  import androidx.compose.runtime.Composable
4
4
  import androidx.compose.runtime.remember
5
- import kotlinx.datetime.Clock
5
+ import kotlin.time.Clock
6
+ import kotlin.time.ExperimentalTime
6
7
  import kotlinx.datetime.DatePeriod
7
8
  import kotlinx.datetime.LocalDateTime
8
9
  import kotlinx.datetime.TimeZone
@@ -149,6 +150,7 @@ val timeMode = listOf("AM", "PM")
149
150
  /**
150
151
  * Get today's date
151
152
  */
153
+ @OptIn(ExperimentalTime::class)
152
154
  fun getCurrentDateTime(): LocalDateTime {
153
155
  return Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault())
154
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.153.1-newsfeed.5",
3
+ "version": "0.153.1-newsfeed.6",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@momo-platform/native-max-api": "1.0.18"
@@ -19,7 +19,4 @@ dependencyResolutionManagement {
19
19
  google()
20
20
  maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
21
21
  }
22
- }
23
-
24
- include(":NativeMaxApi")
25
- project(":NativeMaxApi").projectDir = file("./node_modules/@momo-platform/native-max-api/NativeMaxApi")
22
+ }