-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
57 lines (46 loc) · 1.13 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
57 lines (46 loc) · 1.13 KB
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
@file:Suppress("UnstableApiUsage")
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.intellij)
}
group = "dev.panuszewski"
version = versionFromNearestTag()
repositories {
mavenCentral()
maven { url = uri("https://www.jetbrains.com/intellij-repository/snapshots/") }
}
intellij {
version = "2023.1"
type = "IU"
plugins = listOf("org.jetbrains.kotlin", "org.intellij.groovy")
updateSinceUntilBuild = false
}
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
}
explicitApi()
}
dependencies {
implementation(libs.kasechange)
testImplementation(libs.assertk)
}
tasks {
runIde {
ideDir = File("${System.getenv("HOME")}/Applications/IntelliJ IDEA Ultimate.app/Contents")
}
signPlugin {
certificateChain = System.getenv("CERTIFICATE_CHAIN")
privateKey = System.getenv("PRIVATE_KEY")
password = System.getenv("PRIVATE_KEY_PASSWORD")
}
publishPlugin {
token = System.getenv("PUBLISH_TOKEN")
}
buildSearchableOptions {
enabled = false
}
check {
dependsOn(verifyPlugin)
}
}