-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
78 lines (67 loc) · 1.38 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
73
74
75
76
77
78
plugins {
id("java")
alias(libs.plugins.kotlin)
alias(libs.plugins.intelliJPlatform)
}
group = "kim.nzxy"
version = "1.2.1"
kotlin {
jvmToolchain(17)
}
tasks {
buildSearchableOptions {
enabled = false
}
compileJava {
options.encoding = "UTF-8"
}
compileTestJava {
options.encoding = "UTF-8"
}
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
releases()
marketplace()
}
}
dependencies {
intellijPlatform {
intellijIdeaUltimate("2024.2")
instrumentationTools()
bundledPlugins(
"com.intellij.javaee.el",
"com.intellij.spring.mvc",
"org.intellij.intelliLang",
"com.intellij.java",
"org.jetbrains.kotlin",
"JavaScript"
)
pluginVerifier()
}
}
intellijPlatform {
pluginConfiguration {
ideaVersion {
sinceBuild = "223"
untilBuild = "242.*"
}
}
pluginVerification {
ides {
recommended()
}
}
}
tasks {
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"))
}
}