Skip to content

Commit 114f272

Browse files
committed
- Updated Kotlin version to 1.6.20
- Updated npm libraries and wrappers
1 parent d5d8244 commit 114f272

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ojaynico-kotlin-react-native
2-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.ojaynico/ojaynico-kotlin-react-native/badge.svg)](https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native/1.1.9/pom)
3-
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.10-blue.svg?logo=kotlin)](http://kotlinlang.org)
2+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.ojaynico/ojaynico-kotlin-react-native/badge.svg)](https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native/1.2.0/pom)
3+
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.20-blue.svg?logo=kotlin)](http://kotlinlang.org)
44
[![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/react)
55
[![npm version](https://img.shields.io/npm/v/react-native?color=brightgreen&label=npm%20package)](https://www.npmjs.com/package/react-native)
66
[![Kotlin JS IR supported](https://img.shields.io/badge/Kotlin%2FJS-IR%20supported-yellow)](https://kotl.in/jsirsupported)
@@ -32,7 +32,7 @@ repositories {
3232
}
3333

3434
dependencies {
35-
implementation("com.github.ojaynico:ojaynico-kotlin-react-native:1.1.9")
35+
implementation("com.github.ojaynico:ojaynico-kotlin-react-native:1.2.0")
3636
}
3737
```
3838

build.gradle.kts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import org.jetbrains.kotlin.gradle.plugin.statistics.ReportStatisticsToElasticSearch.password
22

33
plugins {
4-
kotlin("js") version "1.6.10"
4+
kotlin("js") version "1.6.20"
55
id("maven-publish")
66
id("io.codearte.nexus-staging") version "0.30.0"
77
signing
88
}
99

1010
group = "com.github.ojaynico"
11-
version = "1.1.9"
11+
version = "1.2.0"
1212

1313
val artifactName = project.name
1414
val artifactGroup = project.group.toString()
@@ -42,10 +42,10 @@ kotlin {
4242
}
4343

4444
dependencies {
45-
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:17.0.2-pre.294-kotlin-1.6.10")
46-
implementation("org.jetbrains.kotlin-wrappers:kotlin-extensions:1.0.1-pre.294-kotlin-1.6.10")
47-
implementation(npm("react", "17.0.2"))
48-
implementation(npm("react-native", "0.67.2"))
45+
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:18.1.0-pre.333")
46+
implementation("org.jetbrains.kotlin-wrappers:kotlin-extensions:1.0.1-pre.333")
47+
implementation(npm("react", "18.1.0"))
48+
implementation(npm("react-native", "0.68.1"))
4949
}
5050

5151
val sourcesJar by tasks.registering(Jar::class) {
@@ -121,3 +121,9 @@ rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlu
121121
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
122122
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = false // or true for default behavior
123123
}
124+
125+
allprojects {
126+
tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask> {
127+
args += "--ignore-engines"
128+
}
129+
}

0 commit comments

Comments
 (0)