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

View file

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

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View file

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