Update everything, including java (requires JVM17 now)

This commit is contained in:
Oliver Rümpelein 2021-11-28 12:10:38 +01:00
parent ce7d231c9a
commit 51cb1dee9b
4 changed files with 16 additions and 9 deletions

View file

@ -7,12 +7,12 @@ val kotlinx_html_version: String by project
plugins {
application
kotlin("jvm") version "1.5.31"
id("com.github.johnrengelman.shadow") version "7.1.0"
kotlin("jvm")
id("com.github.johnrengelman.shadow")
}
group = "de.pheerai.buzzer"
version = "0.0.1"
version = "0.0.2"
application {
mainClass.set("de.pheerai.buzzer.ApplicationKt")
@ -36,13 +36,13 @@ dependencies {
tasks {
withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString()
sourceCompatibility = JavaVersion.VERSION_17.toString()
targetCompatibility = JavaVersion.VERSION_17.toString()
}
withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
}
}

View file

@ -1,5 +1,5 @@
ktor_version=1.6.4
kotlin_version=1.5.31
logback_version=1.2.6
kotlin_version=1.6.0
logback_version=1.2.7
kotlinx_html_version=0.7.3
kotlin.code.style=official

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View file

@ -1 +1,8 @@
rootProject.name = "server"
pluginManagement {
plugins {
kotlin("jvm") version "1.6.0"
id("com.github.johnrengelman.shadow") version "7.1.0"
}
}