Skip to content

Commit 3b49506

Browse files
committed
- Updated Kotlin to v 1.6.0
- Updated async to v 1.15.14
1 parent 0e8161b commit 3b49506

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ojaynico-kotlin-react-native-async-storage
22

3-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage/badge.svg)](https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage/1.0.8/pom)
4-
[![Kotlin](https://img.shields.io/badge/kotlin-1.5.31-blue.svg?logo=kotlin)](http://kotlinlang.org)
3+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage/badge.svg)](https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage/1.0.9/pom)
4+
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
55
[![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/react)
66
[![Kotlin JS IR supported](https://img.shields.io/badge/Kotlin%2FJS-IR%20supported-yellow)](https://kotl.in/jsirsupported)
77

@@ -36,7 +36,7 @@ repositories {
3636
}
3737

3838
dependencies {
39-
implementation("com.github.ojaynico:ojaynico-kotlin-react-native-async-storage:1.0.8")
39+
implementation("com.github.ojaynico:ojaynico-kotlin-react-native-async-storage:1.0.9")
4040
}
4141
```
4242

build.gradle.kts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
2-
kotlin("js") version "1.5.31"
2+
kotlin("js") version "1.6.0"
33
id("maven-publish")
44
id("io.codearte.nexus-staging") version "0.30.0"
55
signing
66
}
77

88
group = "com.github.ojaynico"
9-
version = "1.0.8"
9+
version = "1.0.9"
1010

1111
val artifactName = project.name
1212
val artifactGroup = project.group.toString()
@@ -42,8 +42,7 @@ repositories {
4242
}
4343

4444
dependencies {
45-
implementation(kotlin("stdlib-js"))
46-
implementation(npm("@react-native-async-storage/async-storage", "1.15.8"))
45+
implementation(npm("@react-native-async-storage/async-storage", "1.15.14"))
4746
}
4847

4948
val sourcesJar by tasks.registering(Jar::class) {
@@ -111,3 +110,11 @@ signing {
111110
sign(tasks["sourcesJar"])
112111
sign(publishing.publications["ojaynico-kotlin-react-native-async-storage"])
113112
}
113+
114+
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin> {
115+
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension>().download = false // or true for default behavior
116+
}
117+
118+
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
119+
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = false // or true for default behavior
120+
}

0 commit comments

Comments
 (0)