-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (35 loc) · 963 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
41
plugins {
kotlin("jvm") version "1.4.32"
id("org.jetbrains.intellij") version "1.1.2"
java
}
group = "com.github.pflingstring.push.me.not"
version = "0.0.2"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.5.21")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.2")
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
plugins.set(listOf("git4idea"))
updateSinceUntilBuild.set(false)
sameSinceUntilBuild.set(true)
}
val eapIdePath = properties["eap.ide.path"]!!
val stableIdePath = properties["stable.ide.path"]!!
tasks {
patchPluginXml {
sinceBuild.set("203.6682")
changeNotes.set("""""".trimIndent())
}
runPluginVerifier {
localPaths.setFrom(eapIdePath, stableIdePath)
}
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}