-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
54 lines (42 loc) · 1.25 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
import org.jetbrains.intellij.IntelliJPluginExtension
import org.jetbrains.intellij.tasks.PatchPluginXmlTask
buildscript {
repositories {
maven(url = "https://plugins.gradle.org/m2/")
}
dependencies {
classpath("gradle.plugin.org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.3.7")
}
}
description = "Idea Plugin Sample"
tasks.existing(Wrapper::class) {
gradleVersion = "4.10.2"
distributionType = Wrapper.DistributionType.ALL
}
plugins {
id("java")
id("org.jetbrains.intellij") version ("0.3.7")
}
tasks.withType(type = JavaCompile::class) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.4")
compile("org.freemarker:freemarker:2.3.28")
compile("commons-io:commons-io:2.6")
compile("com.squareup.retrofit2:retrofit:2.4.0")
compile("com.squareup.retrofit2:converter-jackson:2.4.0")
compile("com.squareup.okhttp3:logging-interceptor:3.12.1")
}
configure<IntelliJPluginExtension> {
version = "2018.2.5"
}
tasks.withType(PatchPluginXmlTask::class) {
changeNotes("Add change notes here.<br><em>most HTML tags may be used</em>")
}