-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
70 lines (58 loc) · 1.66 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
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.1.0"
}
group = "io.github.nahuel92"
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
intellijPlatform {
pluginConfiguration {
version = providers.gradleProperty("pluginVersion")
id = "io.github.nahuel92.pit4u"
name = "PIT4U"
version = "0.1.3"
description = "Plugin that allows you to run PIT mutation tests directly from your IDE"
ideaVersion {
sinceBuild.set("242")
}
}
}
dependencies {
implementation("org.pitest:pitest:1.17.0")
implementation("org.pitest:pitest-junit5-plugin:1.2.1")
implementation("org.pitest:pitest-command-line:1.17.0")
implementation("org.pitest:pitest-entry:1.17.0")
intellijPlatform {
intellijIdeaCommunity("2024.2.3")
bundledPlugin("com.intellij.java")
bundledPlugin("org.jetbrains.idea.maven")
bundledPlugin("com.intellij.gradle")
pluginVerifier()
zipSigner()
instrumentationTools()
testFramework(TestFrameworkType.Platform)
}
}
tasks {
withType<JavaCompile> {
sourceCompatibility = "21"
targetCompatibility = "21"
}
patchPluginXml {
sinceBuild.set("242")
untilBuild.set("242.*")
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
token.set(System.getenv("PUBLISH_TOKEN"))
}
}