Skip to content

Commit

Permalink
- Updated Kotlin to v 1.6.0
Browse files Browse the repository at this point in the history
- Updated async to v 1.15.14
  • Loading branch information
ojaynico committed Dec 1, 2021
1 parent 0e8161b commit 3b49506
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ojaynico-kotlin-react-native-async-storage

[![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)
[![Kotlin](https://img.shields.io/badge/kotlin-1.5.31-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![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)
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/react)
[![Kotlin JS IR supported](https://img.shields.io/badge/Kotlin%2FJS-IR%20supported-yellow)](https://kotl.in/jsirsupported)

Expand Down Expand Up @@ -36,7 +36,7 @@ repositories {
}

dependencies {
implementation("com.github.ojaynico:ojaynico-kotlin-react-native-async-storage:1.0.8")
implementation("com.github.ojaynico:ojaynico-kotlin-react-native-async-storage:1.0.9")
}
```

Expand Down
15 changes: 11 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
plugins {
kotlin("js") version "1.5.31"
kotlin("js") version "1.6.0"
id("maven-publish")
id("io.codearte.nexus-staging") version "0.30.0"
signing
}

group = "com.github.ojaynico"
version = "1.0.8"
version = "1.0.9"

val artifactName = project.name
val artifactGroup = project.group.toString()
Expand Down Expand Up @@ -42,8 +42,7 @@ repositories {
}

dependencies {
implementation(kotlin("stdlib-js"))
implementation(npm("@react-native-async-storage/async-storage", "1.15.8"))
implementation(npm("@react-native-async-storage/async-storage", "1.15.14"))
}

val sourcesJar by tasks.registering(Jar::class) {
Expand Down Expand Up @@ -111,3 +110,11 @@ signing {
sign(tasks["sourcesJar"])
sign(publishing.publications["ojaynico-kotlin-react-native-async-storage"])
}

rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension>().download = false // or true for default behavior
}

rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = false // or true for default behavior
}

0 comments on commit 3b49506

Please sign in to comment.