-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 977 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
java
kotlin("jvm") version "1.9.0"
id("org.jetbrains.intellij") version "1.11.0"
}
group = "com.uriyyo.evaluate_async_code"
version = "1.26"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1")
}
intellij {
version.set(project.properties["ideaVersion"].toString())
pluginName.set("evaluate-async-code")
downloadSources.set(project.properties["downloadIdeaSources"] == "true")
updateSinceUntilBuild.set(false)
plugins.add("terminal")
if ("PC" in project.properties["ideaVersion"].toString()) {
plugins.add("python-ce")
} else if ("PY" in project.properties["ideaVersion"].toString()) {
plugins.add("python")
}
}
tasks {
withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
}
}