-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
81 lines (70 loc) · 2.31 KB
/
Copy pathbuild.gradle
File metadata and controls
81 lines (70 loc) · 2.31 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
70
71
72
73
74
75
76
77
78
79
80
81
/*
* Copyright (c) 2020-2021, Koninklijke Philips N.V., https://www.philips.com
* SPDX-License-Identifier: MIT
*/
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:5.1.14"
}
}
plugins {
id 'application'
id 'com.adarshr.test-logger' version '3.2.0'
}
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
mavenCentral()
}
ext {
jacksonVersion = '2.16.1'
junitVersion = '5.10.1'
mockWebServerVersion = '4.12.0'
retrofitVersion = '2.9.0'
}
dependencies {
implementation "info.picocli:picocli:4.7.5"
implementation "pl.tlinkowski.annotation:pl.tlinkowski.annotation.basic:0.2.0"
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation "com.squareup.retrofit2:retrofit:${retrofitVersion}"
implementation "com.squareup.retrofit2:converter-jackson:${retrofitVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
implementation "com.github.package-url:packageurl-java:1.5.0"
testImplementation "com.squareup.okhttp3:mockwebserver:${mockWebServerVersion}"
testImplementation "org.json:json:20231013"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation "org.assertj:assertj-core:3.25.2"
testImplementation "org.mockito:mockito-core:5.9.0"
testImplementation "nl.jqno.equalsverifier:equalsverifier:3.15.6"
}
testlogger {
theme 'mocha'
}
test {
useJUnitPlatform()
}
application {
mainClass = 'com.philips.research.spdxbuilder.SpdxBuilder'
}
jar {
manifest {
attributes(
'Main-Class': 'com.philips.research.spdxbuilder.SpdxBuilder',
'Implementation-Title': 'SPDX-Builder',
'Implementation-Version': 'v0.9.5'
)
}
duplicatesStrategy = 'exclude'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
version = 'v0.9.5'