Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Nov 27, 2022
1 parent b702484 commit 6a2b5dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ 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<KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
}

named<Zip>("buildPlugin") {
dependsOn("test")
archiveFileName.set("AceJump.zip")
}

withType<RunIdeTask> {
runIde {
dependsOn("test")
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
}
Expand Down Expand Up @@ -54,7 +54,7 @@ tasks {

kotlin.jvmToolchain {
run {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion.set(JavaLanguageVersion.of(17))
}
}

Expand All @@ -71,6 +71,7 @@ repositories {
}

dependencies {
// https://github.com/anyascii/anyascii
implementation("com.anyascii:anyascii:0.3.1")
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6a2b5dd

Please sign in to comment.