-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.17 KB
/
build.gradle
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
import static org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
plugins {
id 'org.jetbrains.intellij' version '1.17.3'
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
}
repositories {
mavenCentral()
}
sourceSets {
main {
kotlin.srcDir 'src'
resources.srcDir 'resources'
}
test {
kotlin.srcDir 'test'
}
}
kotlin {
jvmToolchain(17)
}
compileKotlin {
compilerOptions {
apiVersion.set(KOTLIN_1_9)
languageVersion.set(KOTLIN_1_9)
// Compiler flag to allow building against pre-released versions of Kotlin
// because IJ EAP can be built using pre-released Kotlin but it's still worth doing to check API compatibility
freeCompilerArgs = ["-Xskip-metadata-version-check"]
}
}
intellij {
// To find available IDE versions see https://www.jetbrains.com/intellij-repository/releases
version = '241.14494.240'
// version.set("LATEST-EAP-SNAPSHOT")
pluginName = 'ijkl-shortcuts'
downloadSources = true
sameSinceUntilBuild = false
updateSinceUntilBuild = false
}
buildSearchableOptions.enabled = false // Disable because it takes a long time and the plugin doesn't need it