Skip to content

Commit b3c8e17

Browse files
committed
update Kotlin 1.7.0
1 parent 8f8ce49 commit b3c8e17

File tree

8 files changed

+13
-8
lines changed

8 files changed

+13
-8
lines changed

.idea/misc.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![jCenter](https://img.shields.io/badge/Apache-2.0-green.svg
55
)](https://github.com/Foso/KotlinReactNativeMpp/blob/master/LICENSE)
66
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
7-
[![jCenter](https://img.shields.io/badge/Kotlin-1.6.21-green.svg
7+
[![jCenter](https://img.shields.io/badge/Kotlin-1.7.0-green.svg
88
)](https://github.com/Foso/Sheasy/blob/master/LICENSE)
99

1010

@@ -25,7 +25,8 @@ This is an example project that shows how to create a Kotlin Compiler Plugin. At
2525

2626
## Usage
2727

28-
> :information_source: Please be aware that the Kotlin Compiler still doesn’t have any stable API and there is no backwards compatibility guaranteed. Kotlin versions above 1.6.21 can have a totally different API.
28+
> :information_source: Please be aware that the Kotlin Compiler still doesn’t have any stable API and there is no
29+
> backwards compatibility guaranteed. Kotlin versions above 1.7.0 can have a totally different API.
2930
3031
* Inside the project folder run ` ./gradlew clean build`
3132

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
}
1414
}
1515
plugins {
16-
id 'org.jetbrains.kotlin.multiplatform' version '1.6.21'
16+
id 'org.jetbrains.kotlin.multiplatform' version '1.7.0'
1717
}
1818
apply plugin: 'compiler.gradleplugin.helloworld'
1919

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
2+
id 'org.jetbrains.kotlin.jvm' version '1.7.0'
33
}
44

55
allprojects {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import org.jetbrains.kotlin.compiler.plugin.ComponentRegistrar
1111
import org.jetbrains.kotlin.config.CompilerConfiguration
1212

1313
@AutoService(ComponentRegistrar::class)
14-
class NativeTestComponentRegistrar : ComponentRegistrar {
14+
class NativeComponentRegistrar : ComponentRegistrar {
1515

1616

1717
override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import org.jetbrains.kotlin.config.CompilerConfiguration
88
import org.jetbrains.kotlin.config.CompilerConfigurationKey
99

1010
@AutoService(CommandLineProcessor::class) // don't forget!
11-
class NativeCommandLineProcessor : CommandLineProcessor {
11+
class ExampleCommandLineProcessor : CommandLineProcessor {
1212

1313
override val pluginId: String = "helloWorldPlugin"
1414

buildSrc/gradle-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ gradlePlugin {
2323
}
2424

2525
dependencies {
26-
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.21"
26+
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.0"
2727
}
2828

2929

src/jvmMain/kotlin/sample/SampleJvm.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ actual class Sample {
66

77
actual object Platform {
88
actual val name: String = "JVM"
9-
}
9+
}
10+

0 commit comments

Comments
 (0)