forked from dekonoplyov/KeymapNationalizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (43 loc) · 1.06 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
plugins {
id("org.jetbrains.intellij") version "0.4.21"
java
kotlin("jvm") version "1.3.72"
}
group = "com.dekonoplyov"
version = "0.2.6ul"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8" ))
implementation(kotlin("reflect"))
testImplementation("junit", "junit", "4.12")
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = "2020.1.2"
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
publishPlugin {
token(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
}
patchPluginXml {
untilBuild("213.*")
}
}
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
changeNotes("""
- Fix failed to parse % key. Update intellij version.
- Add mappings for Universal layout:
https://github.com/tonsky/Universal-Layout/
""")
}