-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
71 lines (58 loc) · 1.26 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
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "2.1.0"
id("org.jetbrains.intellij.platform") version "2.2.1"
kotlin("plugin.serialization") version "2.1.0"
}
group = "jp.s6n.idea"
version = "0.2.2"
kotlin {
jvmToolchain(21)
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
intellijPlatform {
intellijIdeaUltimate("2024.3")
bundledPlugins(
"org.jetbrains.plugins.textmate",
"org.jetbrains.plugins.yaml",
"NodeJS",
)
instrumentationTools()
pluginVerifier()
}
}
intellijPlatform {
pluginConfiguration {
ideaVersion {
sinceBuild = "243"
untilBuild = "243.*"
}
}
pluginVerification {
ides {
recommended()
}
}
signing {
certificateChain = providers.environmentVariable("CERTIFICATE_CHAIN")
privateKey = providers.environmentVariable("PRIVATE_KEY")
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD")
}
publishing {
token = providers.environmentVariable("PUBLISH_TOKEN")
}
}
tasks {
prepareSandbox {
from(layout.projectDirectory.dir("textmate")) {
into(pluginName.map { "$it/textmate" })
}
}
}