forked from mjedynak/pit-idea-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.04 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
plugins {
id 'groovy'
id "org.jetbrains.intellij" version "0.4.21"
}
intellij {
version '2020.1.1'
plugins 'java'
}
// --- properties ---
ext.pitVersion = '1.5.1'
ext.junit5Plugin = '0.12'
sourceCompatibility = 1.8
// --- properties ---
// workaround for http://issues.gradle.org/browse/GRADLE-2538
sourceSets.main.java.srcDirs = []
sourceSets.main.groovy.srcDir 'src/main/java'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation("org.pitest:pitest-command-line:$pitVersion") { transitive = false }
implementation("org.pitest:pitest-entry:$pitVersion") { transitive = false }
implementation("org.pitest:pitest:$pitVersion") { transitive = false }
implementation("com.thoughtworks.xstream:xstream:1.4.8")
implementation "org.pitest:pitest-junit5-plugin:$junit5Plugin"
testImplementation ('org.spockframework:spock-core:0.7-groovy-2.0') {
exclude group: 'org.codehaus.groovy'
}
}
jar {
metaInf {
from('META-INF') {
include 'plugin.xml'
}
}
}