This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
72 lines (66 loc) · 1.61 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id("org.jetbrains.intellij") version "1.9.0"
java
kotlin("jvm") version "1.6.20"
}
group "com.asyncapi.plugin.idea"
version = "1.7.1+idea2021"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.0")
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version.set("2022.2.3")
plugins.set(listOf("yaml"))
}
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
sinceBuild.set("211")
untilBuild.set("222.*")
changeNotes.set("""
<p>Fix preview on Windows</p>
""".trimIndent())
}
tasks.getByName<org.jetbrains.intellij.tasks.RunPluginVerifierTask>("runPluginVerifier") {
ideVersions.set(listOf(
"2021.1",
"2021.1.1",
"2021.1.2",
"2021.1.3",
"2021.2",
"2021.2.1",
"2021.2.2",
"2021.2.3",
"2021.3",
"2021.3.1",
"2021.3.2",
"2021.3.3",
"2022.1",
"2022.1.1",
"2022.1.2",
"2022.1.3",
"2022.1.4",
"2022.2",
"2022.2.1",
"2022.2.2",
"2022.2.3"
))
verifierVersion.set("1.284")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}
test {
useJUnitPlatform()
}
}