-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
51 lines (45 loc) · 1.08 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
group = "top.threep.plugin"
version = "0.9.3"
plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.1.0"
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
implementation("ws.vinta:pangu:1.1.0")
intellijPlatform {
intellijIdeaCommunity("2022.3.1", useInstaller = false)
bundledPlugin("com.intellij.java")
pluginVerifier()
zipSigner()
instrumentationTools()
}
}
intellijPlatform {
pluginConfiguration {
id = "top.threep.plugin.txtic"
name = "txtic"
version = "0.9.3"
ideaVersion {
sinceBuild = "222"
untilBuild = "243.*"
}
}
publishing {
host = "https://plugins.jetbrains.com"
token.set(System.getenv("PUBLISH_TOKEN"))
channels = listOf("default")
}
}
tasks {
withType<JavaCompile> {
sourceCompatibility = JavaVersion.VERSION_17.toString()
targetCompatibility = JavaVersion.VERSION_17.toString()
options.encoding = "UTF-8"
}
}