-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
50 lines (40 loc) · 1.06 KB
/
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
41
42
43
44
45
46
47
48
49
50
plugins {
id("java")
id("org.jetbrains.intellij") version "1.15.0"
}
version = "1.4.1"
allprojects {
repositories {
mavenCentral()
}
apply {
plugin("java")
plugin("org.jetbrains.intellij")
}
java {
toolchain {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
intellij {
pluginName.set("zato")
version.set("${project.property("ideVersion")}")
plugins.set(listOf("PythonCore:${project.property("pythonCoreVersion")}"))
downloadSources.set(true)
}
tasks {
withType<JavaCompile> { options.encoding = "UTF-8" }
patchPluginXml {
sinceBuild.set("221.0")
untilBuild.set("251.*")
}
runPluginVerifier {
ideVersions.set(project.property("ideVerifierVersions").toString().split(","))
}
}
dependencies {
testImplementation("org.nanohttpd:nanohttpd:2.3.1")
testImplementation("junit:junit:4.13.2")
}
}