-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (49 loc) · 1.53 KB
/
build.gradle
File metadata and controls
57 lines (49 loc) · 1.53 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
group = 'com.fortify.fod'
version = '5.4.3'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'org.junit.platform.gradle.plugin'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.16.0'
compile group: 'com.squareup.okio', name: 'okio', version: '1.17.6'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.14.9'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.14'
compile group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
compile 'com.fortify.fod:BSITokenParser:1.2.0'
compile 'com.beust:jcommander:1.82'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
shadowJar {
classifier = null
configurations = [project.configurations.compile]
archiveName = "${baseName}.${extension}"
}
jar {
manifest {
attributes("Main-Class": "com.fortify.fod.Main",
"Implementation-Version": version)
}
}
task logError {
logging.captureStandardOutput LogLevel.ERROR
}
defaultTasks 'test', 'shadowJar'