mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-18 23:42:49 +00:00
add necessary kotlin deps
This commit is contained in:
parent
878e4e7d98
commit
7deba8ab2b
2 changed files with 7 additions and 0 deletions
|
|
@ -9,4 +9,5 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.intellij.plugins", "gradle-intellij-plugin", "1.17.0")
|
||||
implementation("org.jetbrains.kotlin", "kotlin-gradle-plugin", "1.9.22")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
fun properties(key: String) = project.findProperty(key).toString()
|
||||
|
||||
plugins {
|
||||
|
|
@ -5,6 +7,7 @@ plugins {
|
|||
id("java")
|
||||
id("idea")
|
||||
id("org.jetbrains.intellij")
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
}
|
||||
|
||||
version = properties("pluginVersion")
|
||||
|
|
@ -38,6 +41,9 @@ tasks {
|
|||
sourceCompatibility = it
|
||||
targetCompatibility = it
|
||||
}
|
||||
withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = it
|
||||
}
|
||||
}
|
||||
|
||||
runIde {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue