-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
51 lines (42 loc) · 1006 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
47
48
49
50
51
// SPDX-FileCopyrightText: TNG Technology Consulting GmbH
//
// SPDX-License-Identifier: Apache-2.0
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'checkstyle'
}
group 'com.tngtech.spdx'
version '1.0-SNAPSHOT'
subprojects {
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'checkstyle'
group = rootProject.group
checkstyle {
toolVersion = '9.3'
configFile = rootProject.file('config/checkstyle/checkstyle.xml')
configProperties = [
'checkstyle.cache.file': "${buildDir}/checkstyle.cache",
]
ignoreFailures = false
showViolations = true
maxWarnings = 0
}
dependencies {
implementation('org.spdx:tools-java:1.1.1')
}
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'org.spdx.testbed.Main'
)
}
}