-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (51 loc) · 1.15 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.18'
id 'org.jetbrains.kotlin.jvm' version '1.3.71'
}
apply plugin: "org.jetbrains.kotlin.jvm"
apply plugin: 'jacoco'
group 'com.gavwu.plugins.intellij.complexity-reducer-plus'
version '0.1.3'
repositories {
mavenCentral()
jcenter()
maven {
url 'https://www.jetbrains.com/intellij-repository/snapshots'
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2020.1'
plugins 'java'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
patchPluginXml {
changeNotes """
0.1.0 Initial Release, and 2020.7 release
"""
}
test {
ignoreFailures = true
reports {
junitXml.enabled = true
html.enabled = false
}
}
jacocoTestReport {
reports {
html.enabled false
csv.enabled false
xml.enabled true
xml.destination file("$buildDir/test-results/jacoco/report.xml")
}
}