-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.34 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
apply plugin: 'java'
apply plugin:'application'
apply plugin:'jacoco'
application {
mainClass = 'org.dstadler.jgitfs.JGitFS'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'commons-cli:commons-cli:1.9.0'
implementation 'org.dstadler:commons-dost:1.3.4'
implementation 'commons-io:commons-io:2.18.0'
implementation 'org.apache.commons:commons-lang3:3.17.0'
implementation 'net.java.dev.jna:jna:3.5.2'
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.0.0.202409031743-r'
implementation 'com.google.guava:guava:33.4.0-jre'
implementation files('lib/fuse-jna-1.0.3.2.jar')
implementation 'jline:jline:2.14.6'
runtimeOnly 'org.slf4j:slf4j-simple:2.0.16'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.4'
testImplementation 'org.dstadler:commons-test:1.0.0.21'
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion = '8.5'
}
tasks.withType(JavaCompile).configureEach {
// avoid: :compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
options.warnings = false
options.compilerArgs = ['-Xlint:deprecation']
options.encoding = 'UTF-8'
}
jacoco {
toolVersion = '0.8.12'
}
jacocoTestReport {
reports {
xml.required = true
}
}