-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathbuild.gradle
46 lines (38 loc) · 895 Bytes
/
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
plugins {
id 'java-library'
id 'groovy'
id 'org.gradle.test-retry' version '1.0.0'
}
repositories {
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
// groovy
compileOnly 'org.codehaus.groovy:groovy:[2.5.0, 2.6.0-alpha)'
// jgit
api 'org.eclipse.jgit:org.eclipse.jgit:latest.release'
// logging
testImplementation 'org.slf4j:slf4j-api:latest.release'
testRuntime 'org.slf4j:slf4j-simple:latest.release'
// testing
testImplementation 'junit:junit:latest.release'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
constraints {
testImplementation('org.codehaus.groovy:groovy:2.5.10') {
because 'Needed to support Java 14'
}
}
}
jar {
manifest {
attributes 'Automatic-Module-Name': 'org.ajoberstar.grgit'
}
}
test {
retry {
maxFailures = 1
maxRetries = 1
}
}