Update kotlin, kotlin libs & forge; Add kotlinx-serialization

This commit is contained in:
Juraj Hrivnák 2023-03-22 19:54:37 +01:00
parent d815fc1b39
commit f3558197cc
2 changed files with 10 additions and 7 deletions

View File

@ -11,6 +11,7 @@ val repositoryLink: String by ext.properties
val kotlinVersion: String by ext.properties val kotlinVersion: String by ext.properties
val annotationsVersion: String by ext.properties val annotationsVersion: String by ext.properties
val coroutinesVersion: String by ext.properties val coroutinesVersion: String by ext.properties
val serializationVersion: String by ext.properties
val modDescription: String = "Kotlin helper library for Minecraft Forge." val modDescription: String = "Kotlin helper library for Minecraft Forge."
buildscript { buildscript {
@ -28,8 +29,8 @@ buildscript {
plugins { plugins {
java java
kotlin("jvm") version "1.5.30" kotlin("jvm") version "1.8.10"
id("net.kyori.blossom") version "1.3.0" id("net.kyori.blossom") version "1.3.1"
id("com.github.johnrengelman.shadow") version "7.0.0" id("com.github.johnrengelman.shadow") version "7.0.0"
} }
@ -62,6 +63,7 @@ dependencies {
shadow("org.jetbrains:annotations:$annotationsVersion") shadow("org.jetbrains:annotations:$annotationsVersion")
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion") shadow("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion")
shadow("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
} }
blossom { blossom {

View File

@ -1,11 +1,12 @@
modGroup=net.shadowfacts modGroup=net.shadowfacts
modVersion=1.9.1 modVersion=1.10.0
modName=Forgelin modName=Forgelin
mcVersion=1.12.2 mcVersion=1.12.2
mcpChannel=stable mcpChannel=stable
mcpVersion=39-1.12 mcpVersion=39-1.12
repositoryLink=https://github.com/Licious17/Forgelin repositoryLink=https://github.com/Licious17/Forgelin
forgeVersion=1.12.2-14.23.5.2855 forgeVersion=1.12.2-14.23.5.2860
kotlinVersion = 1.5.30 kotlinVersion = 1.8.10
annotationsVersion = 22.0.0 annotationsVersion = 24.0.1
coroutinesVersion = 1.5.2 coroutinesVersion = 1.6.4
serializationVersion = 1.5.0