@@ -28,9 +28,9 @@ To implement in an existing project, merge the following into your build script:
2828``` groovy
2929plugins {
3030 // Adds the Kotlin Gradle plugin
31- id 'org.jetbrains.kotlin.jvm' version '2.1.21 '
31+ id 'org.jetbrains.kotlin.jvm' version '2.2.20 '
3232 // OPTIONAL Kotlin Serialization plugin
33- //id 'org.jetbrains.kotlin.plugin.serialization' version '2.1.21 '
33+ //id 'org.jetbrains.kotlin.plugin.serialization' version '2.2.20 '
3434}
3535
3636repositories {
@@ -44,9 +44,9 @@ repositories {
4444dependencies {
4545 // Adds KFF as dependency and Kotlin libs (use the variant matching your mod loader)
4646 // FORGE (1.21+ ONLY)
47- implementation 'thedarkcolour:kotlinforforge:5.9 .0'
47+ implementation 'thedarkcolour:kotlinforforge:5.10 .0'
4848 // NEOFORGE
49- implementation 'thedarkcolour:kotlinforforge-neoforge:5.9 .0'
49+ implementation 'thedarkcolour:kotlinforforge-neoforge:5.10 .0'
5050}
5151// ONLY ON REGULAR FORGE
5252sourceSets.each {
@@ -64,9 +64,9 @@ sourceSets.each {
6464``` kotlin
6565plugins {
6666 // Adds the Kotlin Gradle plugin
67- kotlin(" jvm" ) version " 2.1.21 "
67+ kotlin(" jvm" ) version " 2.2.20 "
6868 // OPTIONAL Kotlin Serialization plugin
69- // kotlin("plugin.serialization") version "2.1.21 "
69+ // kotlin("plugin.serialization") version "2.2.20 "
7070}
7171
7272repositories {
@@ -80,9 +80,9 @@ repositories {
8080dependencies {
8181 // Adds KFF as dependency and Kotlin libs (use the variant matching your mod loader)
8282 // FORGE (1.21+ ONLY)
83- implementation(" thedarkcolour:kotlinforforge-neoforge:5.9 .0" )
83+ implementation(" thedarkcolour:kotlinforforge-neoforge:5.10 .0" )
8484 // NEOFORGE
85- implementation(" thedarkcolour:kotlinforforge-neoforge:5.9 .0" )
85+ implementation(" thedarkcolour:kotlinforforge-neoforge:5.10 .0" )
8686}
8787// ONLY ON REGULAR FORGE
8888sourceSets.configureEach {
@@ -98,7 +98,7 @@ Then, change the following to your neoforge.mods.toml file:
9898``` toml
9999modLoader =" kotlinforforge"
100100# Change this if you require a certain version of KotlinForForge
101- loaderVersion =" [5.9 ,)"
101+ loaderVersion =" [5.10 ,)"
102102```
103103
104104Use ` thedarkcolour.kotlinforforge.forge.MOD_BUS ` instead of
0 commit comments