diff --git a/build.gradle.kts b/build.gradle.kts index 7b5884e..10e4eef 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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().configureEach { - sourceCompatibility = JavaVersion.VERSION_11.toString() - targetCompatibility = JavaVersion.VERSION_11.toString() + sourceCompatibility = JavaVersion.VERSION_17.toString() + targetCompatibility = JavaVersion.VERSION_17.toString() } withType().configureEach { kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + jvmTarget = JavaVersion.VERSION_17.toString() } } } diff --git a/gradle.properties b/gradle.properties index 96f2eb2..3818d16 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 69a9715..fbce071 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/settings.gradle.kts b/settings.gradle.kts index 2b5cd2c..b792cec 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,8 @@ rootProject.name = "server" + +pluginManagement { + plugins { + kotlin("jvm") version "1.6.0" + id("com.github.johnrengelman.shadow") version "7.1.0" + } +}