1
0
mirror of https://github.com/chylex/IntelliJ-AceJump.git synced 2025-05-29 03:34:07 +02:00

update build script

This commit is contained in:
breandan 2022-11-27 14:05:06 -05:00
parent b7024842ba
commit 6a2b5dd422
2 changed files with 9 additions and 8 deletions

View File

@ -4,15 +4,15 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
idea apply true idea apply true
kotlin("jvm") version "1.7.20" kotlin("jvm") version "1.8.0-Beta"
id("org.jetbrains.intellij") version "1.9.0" id("org.jetbrains.intellij") version "1.10.0"
id("org.jetbrains.changelog") version "1.3.1" 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 { tasks {
withType<KotlinCompile> { compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
} }
named<Zip>("buildPlugin") { named<Zip>("buildPlugin") {
@ -20,7 +20,7 @@ tasks {
archiveFileName.set("AceJump.zip") archiveFileName.set("AceJump.zip")
} }
withType<RunIdeTask> { runIde {
dependsOn("test") dependsOn("test")
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) } findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
} }
@ -54,7 +54,7 @@ tasks {
kotlin.jvmToolchain { kotlin.jvmToolchain {
run { run {
languageVersion.set(JavaLanguageVersion.of(11)) languageVersion.set(JavaLanguageVersion.of(17))
} }
} }
@ -71,6 +71,7 @@ repositories {
} }
dependencies { dependencies {
// https://github.com/anyascii/anyascii
implementation("com.anyascii:anyascii:0.3.1") implementation("com.anyascii:anyascii:0.3.1")
} }

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.5-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists