-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
56 lines (47 loc) · 1.76 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
56
apply plugin: 'java'
apply plugin: 'application'
apply from: "dependencies.gradle"
group = 'groupId'
version = '1.2.2'
description = """SPDX Editor"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
mainClassName = "spdxedit.Main"
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.apache.poi') {
details.useVersion versions.poi
}
else if (details.requested.group == 'com.fasterxml.jackson.core') {
details.useVersion versions.jackson
}
}
}
}
repositories {
maven { url "https://repository.apache.org/content/repositories/releases" }
maven { url "https://dl.bintray.com/yevster/maven" }
maven { url "http://repo.maven.apache.org/maven2" }
maven { url 'https://maven.repository.redhat.com/ga/'}
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.29'
compile group: 'org.slf4j', name: 'slf4j-simple', version:'1.7.29'
compile (group: 'xerces', name: 'xercesImpl', version:versions.xerces){
force=true
}
compile (group: 'org.apache.thrift', name: 'libthrift', version: '0.13.0'){
force=true
}
compile group: 'org.spdx', name: 'spdx-tools', version:'2.1.20'
compile group: 'org.antlr', name: 'antlr', version:'3.4'
compile group: 'org.controlsfx', name: 'controlsfx', version:'8.40.15'
compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.9'
compile group: 'com.google.guava', name: 'guava', version:'16.0.1'
compile group: 'org.apache.jena', name: 'apache-jena-libs', version:'3.13.1'
testCompile group: 'junit', name: 'junit', version:'4.12'
}