Skip to content

Commit

Permalink
Update to Kotlin 2.0.0 (#140)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored May 21, 2024
1 parent 1c1bcfc commit f037521
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add it as a dependency to your Gradle project:

```kotlin
dependencies {
modImplementation("net.fabricmc:fabric-language-kotlin:1.10.20+kotlin.1.9.24")
modImplementation("net.fabricmc:fabric-language-kotlin:1.10.20+kotlin.2.0.0")
}
```

Expand All @@ -35,7 +35,7 @@ Remember to the add a dependency entry to your `fabric.mod.json` file:
]
},
"depends": {
"fabric-language-kotlin": ">=1.10.20+kotlin.1.9.24"
"fabric-language-kotlin": ">=1.10.20+kotlin.2.0.0"
}
}
```
Expand Down Expand Up @@ -236,17 +236,17 @@ Companion objects can be used by appending `$Companion` to the class.
## Bundled libraries

`org.jetbrains.kotlin` namespace:
- **`kotlin-stdlib`** 1.9.24 [Docs](https://kotlinlang.org/docs/home.html), [API docs](https://kotlinlang.org/api/latest/jvm/stdlib/), [GitHub](https://github.com/JetBrains/kotlin)
- **`kotlin-reflect`** 1.9.24 [Docs](https://kotlinlang.org/docs/reflection.html), [API docs](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/)
- **`kotlin-stdlib`** 2.0.0 [Docs](https://kotlinlang.org/docs/home.html), [API docs](https://kotlinlang.org/api/latest/jvm/stdlib/), [GitHub](https://github.com/JetBrains/kotlin)
- **`kotlin-reflect`** 2.0.0 [Docs](https://kotlinlang.org/docs/reflection.html), [API docs](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/)

`org.jetbrains.kotlinx` namespace:
- **`kotlinx-coroutines-core`** 1.8.0 [Guide](https://kotlinlang.org/docs/coroutines-guide.html), [API docs](https://kotlin.github.io/kotlinx.coroutines/), [GitHub](https://github.com/Kotlin/kotlinx.coroutines)
- **`kotlinx-coroutines-jdk8`** 1.8.0 [API docs](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/index.html)
- **`kotlinx-coroutines-core`** 1.8.1 [Guide](https://kotlinlang.org/docs/coroutines-guide.html), [API docs](https://kotlin.github.io/kotlinx.coroutines/), [GitHub](https://github.com/Kotlin/kotlinx.coroutines)
- **`kotlinx-coroutines-jdk8`** 1.8.1 [API docs](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/index.html)
- **`kotlinx-serialization-core`** 1.6.3 [Guide](https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serialization-guide.md), [API docs](https://kotlin.github.io/kotlinx.serialization/kotlinx-serialization-core/index.html), [GitHub](https://github.com/Kotlin/kotlinx.serialization)
- **`kotlinx-serialization-json`** 1.6.3 [API docs](https://kotlin.github.io/kotlinx.serialization/kotlinx-serialization-json/index.html)
- **`kotlinx-serialization-cbor`** 1.6.3 [API docs](https://kotlin.github.io/kotlinx.serialization/kotlinx-serialization-cbor/index.html)
- **`atomicfu`** 0.24.0 [GitHub](https://github.com/Kotlin/kotlinx.atomicfu)
- **`kotlinx-datetime`** 0.5.0 [GitHub](https://github.com/Kotlin/kotlinx-datetime)
- **`kotlinx-datetime`** 0.6.0 [GitHub](https://github.com/Kotlin/kotlinx-datetime)

## Available Versions

Expand Down
2 changes: 1 addition & 1 deletion generated/kotlin_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.24
2.0.0
16 changes: 8 additions & 8 deletions generated/library_versions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"org.jetbrains.kotlin:kotlin-stdlib": "1.9.24",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8": "1.9.24",
"org.jetbrains.kotlin:kotlin-stdlib-jdk7": "1.9.24",
"org.jetbrains.kotlin:kotlin-reflect": "1.9.24",
"org.jetbrains.kotlinx:kotlinx-coroutines-core": "1.8.0",
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": "1.8.0",
"org.jetbrains.kotlinx:kotlinx-coroutines-jdk8": "1.8.0",
"org.jetbrains.kotlin:kotlin-stdlib": "2.0.0",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8": "2.0.0",
"org.jetbrains.kotlin:kotlin-stdlib-jdk7": "2.0.0",
"org.jetbrains.kotlin:kotlin-reflect": "2.0.0",
"org.jetbrains.kotlinx:kotlinx-coroutines-core": "1.8.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": "1.8.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-jdk8": "1.8.1",
"org.jetbrains.kotlinx:kotlinx-serialization-core-jvm": "1.6.3",
"org.jetbrains.kotlinx:kotlinx-serialization-json-jvm": "1.6.3",
"org.jetbrains.kotlinx:kotlinx-serialization-cbor-jvm": "1.6.3",
"org.jetbrains.kotlinx:atomicfu-jvm": "0.24.0",
"org.jetbrains.kotlinx:kotlinx-datetime-jvm": "0.5.0"
"org.jetbrains.kotlinx:kotlinx-datetime-jvm": "0.6.0"
}

0 comments on commit f037521

Please sign in to comment.