Bump kotlin to 2.0.0
This commit is contained in:
parent
8df4d22c58
commit
d2eef54476
2 changed files with 10 additions and 9 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
|
|
||||||
val ktor_version: String by project
|
val ktor_version: String by project
|
||||||
val kotlin_version: String by project
|
val kotlin_version: String by project
|
||||||
val logback_version: String by project
|
val logback_version: String by project
|
||||||
|
@ -5,9 +7,9 @@ val exposed_version: String by project
|
||||||
val h2_version: String by project
|
val h2_version: String by project
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.9.24"
|
kotlin("jvm") version "2.0.0"
|
||||||
id("io.ktor.plugin") version "2.3.12"
|
id("io.ktor.plugin") version "2.3.12"
|
||||||
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.24"
|
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "io.github.wulkanowy"
|
group = "io.github.wulkanowy"
|
||||||
|
@ -23,11 +25,10 @@ application {
|
||||||
val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
|
val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
|
||||||
val compileTestKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
|
val compileTestKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
|
||||||
|
|
||||||
compileKotlin.kotlinOptions {
|
kotlin {
|
||||||
jvmTarget = JavaVersion.VERSION_17.toString()
|
compilerOptions {
|
||||||
|
jvmTarget = JvmTarget.JVM_17
|
||||||
}
|
}
|
||||||
compileTestKotlin.kotlinOptions {
|
|
||||||
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -49,7 +50,7 @@ dependencies {
|
||||||
implementation("org.jetbrains.exposed:exposed-dao:$exposed_version")
|
implementation("org.jetbrains.exposed:exposed-dao:$exposed_version")
|
||||||
implementation("org.jetbrains.exposed:exposed-jdbc:$exposed_version")
|
implementation("org.jetbrains.exposed:exposed-jdbc:$exposed_version")
|
||||||
implementation("org.jetbrains.exposed:exposed-java-time:$exposed_version")
|
implementation("org.jetbrains.exposed:exposed-java-time:$exposed_version")
|
||||||
implementation("org.postgresql:postgresql:42.6.0")
|
implementation("org.postgresql:postgresql:42.7.2")
|
||||||
implementation("org.flywaydb:flyway-core:9.22.2")
|
implementation("org.flywaydb:flyway-core:9.22.2")
|
||||||
implementation("io.ktor:ktor-server-auth-jvm:2.3.4")
|
implementation("io.ktor:ktor-server-auth-jvm:2.3.4")
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
ktor_version=2.3.12
|
ktor_version=2.3.12
|
||||||
kotlin_version=1.9.24
|
kotlin_version=2.0.0
|
||||||
logback_version=1.5.6
|
logback_version=1.5.6
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
exposed_version = 0.52.0
|
exposed_version = 0.52.0
|
||||||
|
|
Loading…
Reference in a new issue