Skip to content

Commit

Permalink
- Updated Kotlin version to 1.6.20
Browse files Browse the repository at this point in the history
- Updated npm libraries and wrappers
  • Loading branch information
ojaynico committed May 6, 2022
1 parent d5d8244 commit 114f272
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ojaynico-kotlin-react-native
[![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)
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.10-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![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)
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.20-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)
[![npm version](https://img.shields.io/npm/v/react-native?color=brightgreen&label=npm%20package)](https://www.npmjs.com/package/react-native)
[![Kotlin JS IR supported](https://img.shields.io/badge/Kotlin%2FJS-IR%20supported-yellow)](https://kotl.in/jsirsupported)
Expand Down Expand Up @@ -32,7 +32,7 @@ repositories {
}

dependencies {
implementation("com.github.ojaynico:ojaynico-kotlin-react-native:1.1.9")
implementation("com.github.ojaynico:ojaynico-kotlin-react-native:1.2.0")
}
```

Expand Down
18 changes: 12 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import org.jetbrains.kotlin.gradle.plugin.statistics.ReportStatisticsToElasticSearch.password

plugins {
kotlin("js") version "1.6.10"
kotlin("js") version "1.6.20"
id("maven-publish")
id("io.codearte.nexus-staging") version "0.30.0"
signing
}

group = "com.github.ojaynico"
version = "1.1.9"
version = "1.2.0"

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

dependencies {
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:17.0.2-pre.294-kotlin-1.6.10")
implementation("org.jetbrains.kotlin-wrappers:kotlin-extensions:1.0.1-pre.294-kotlin-1.6.10")
implementation(npm("react", "17.0.2"))
implementation(npm("react-native", "0.67.2"))
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:18.1.0-pre.333")
implementation("org.jetbrains.kotlin-wrappers:kotlin-extensions:1.0.1-pre.333")
implementation(npm("react", "18.1.0"))
implementation(npm("react-native", "0.68.1"))
}

val sourcesJar by tasks.registering(Jar::class) {
Expand Down Expand Up @@ -121,3 +121,9 @@ rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlu
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
}

allprojects {
tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask> {
args += "--ignore-engines"
}
}

0 comments on commit 114f272

Please sign in to comment.