-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (57 loc) · 1.42 KB
/
build.gradle
File metadata and controls
69 lines (57 loc) · 1.42 KB
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
60
61
62
63
64
65
66
67
68
69
plugins {
id 'groovy'
id 'org.jetbrains.intellij' version '1.17.4'
id 'com.diffplug.spotless' version '6.25.0'
}
intellij {
version = '2024.3'
plugins = ['java']
}
ext.pitVersion = '1.20.0'
ext.pitJunit5PluginVersion = '1.2.3'
sourceCompatibility = 17
targetCompatibility = 17
// 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 "org.pitest:pitest-junit5-plugin:$pitJunit5PluginVersion"
implementation 'org.apache.commons:commons-text:1.10.0'
implementation('org.junit.platform:junit-platform-launcher:1.9.2') { transitive = false }
compileOnly 'org.codehaus.groovy:groovy-all:3.0.19'
testCompileOnly 'org.codehaus.groovy:groovy-all:3.0.19'
testImplementation('org.spockframework:spock-core:2.3-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
}
jar {
metaInf {
from('META-INF') {
include 'plugin.xml'
include 'pluginIcon.svg'
}
}
}
wrapper {
gradleVersion "8.6"
}
spotless {
java {
palantirJavaFormat()
}
groovy {
greclipse()
excludeJava()
}
groovyGradle {
target '*.gradle'
greclipse()
}
}