Bump to Kotlin 1.5.31

This commit is contained in:
NovaFox161
2021-10-10 20:35:04 -05:00
parent 24dc652d51
commit a9b5b04f8d
2 changed files with 10 additions and 8 deletions

2
.gitignore vendored
View File

@@ -20,3 +20,5 @@ web/src/main/resources/static/vendor/
/.gradle/
**/.DS_STORE
**/bin/
**/.settings/

View File

@@ -4,10 +4,10 @@ plugins {
java
//kotlin
kotlin("jvm") version "1.5.21"
kotlin("plugin.serialization") version "1.5.21"
kotlin("plugin.spring") version "1.5.21" apply false
id("org.jetbrains.kotlin.plugin.allopen") version "1.5.21" apply false
kotlin("jvm") version "1.5.31"
kotlin("plugin.serialization") version "1.5.31"
kotlin("plugin.spring") version "1.5.31" apply false
id("org.jetbrains.kotlin.plugin.allopen") version "1.5.31" apply false
//Other
id("org.springframework.boot") version ("2.5.2") apply false
@@ -38,8 +38,8 @@ allprojects {
java.targetCompatibility = JavaVersion.VERSION_16
//Versions
val kotlinVersion by ext("1.5.21")
val kotlinxSerializationVersion by ext("1.2.2")
val kotlinVersion by ext("1.5.31")
val kotlinxSerializationVersion by ext("1.3.0-RC")
val discord4jVersion by ext(discord4jVersion)
val discord4jStoresVersion by ext("3.2.1")
@@ -122,8 +122,8 @@ allprojects {
sourceSets {
all {
languageSettings {
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
useExperimentalAnnotation("kotlin.RequiresOptIn")
optIn("kotlinx.serialization.ExperimentalSerializationApi")
optIn("kotlin.RequiresOptIn")
}
}
}