From 6a2b5dd4226891b47cc44f65f7307ae069fc9648 Mon Sep 17 00:00:00 2001 From: breandan Date: Sun, 27 Nov 2022 14:05:06 -0500 Subject: [PATCH] update build script --- build.gradle.kts | 15 ++++++++------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 09f85a30..302187fc 100755 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,15 +4,15 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { idea apply true - kotlin("jvm") version "1.7.20" - id("org.jetbrains.intellij") version "1.9.0" + kotlin("jvm") version "1.8.0-Beta" + id("org.jetbrains.intellij") version "1.10.0" id("org.jetbrains.changelog") version "1.3.1" - id("com.github.ben-manes.versions") version "0.42.0" + id("com.github.ben-manes.versions") version "0.44.0" } tasks { - withType { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() + compileKotlin { + kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString() } named("buildPlugin") { @@ -20,7 +20,7 @@ tasks { archiveFileName.set("AceJump.zip") } - withType { + runIde { dependsOn("test") findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) } } @@ -54,7 +54,7 @@ tasks { kotlin.jvmToolchain { run { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } } @@ -71,6 +71,7 @@ repositories { } dependencies { + // https://github.com/anyascii/anyascii implementation("com.anyascii:anyascii:0.3.1") } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8049c684..070cb702 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.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists