-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (58 loc) · 1.92 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
Build executable jar file with gradle shadowJar
More info at: https://imperceptiblethoughts.com/shadow/
Requires Gradle 5+
*/
plugins {
id 'com.github.johnrengelman.shadow' version '5.0.0'
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://raw.github.com/yeastrc/pepxml-parsing-jaxb-libs/repository/'
}
maven {
url 'https://raw.github.com/yeastrc/percolator-utils/repository/'
}
maven {
url 'https://raw.github.com/yeastrc/java-fasta-utils/repository/'
}
maven {
url 'https://raw.github.com/yeastrc/limelight-import-api/repository/'
}
}
dependencies {
compile 'org.yeastrc:yrc-fasta-utils:2.0.2'
compile 'org.yeastrc:yrc-pepxml-jaxb:1.22.2'
compile 'org.yeastrc:yrc-percolator-utils:1.0.0'
compile 'org.yeastrc:limelight-import-api:3.0.2'
compile 'info.picocli:picocli:4.6.3'
testCompile 'commons-io:commons-io:2.11.0'
testCompile group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'
testCompile group: 'junit', name: 'junit-dep', version: '4.10'
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
// JAXB dependencies (Required for Java 11+)
// https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api
implementation group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '2.3.2'
// https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.2'
}
processResources {
from ('src/main/java') {
include '**/*.txt'
}
}
jar {
manifest {
attributes 'Main-Class': 'org.yeastrc.limelight.xml.magnum.main.MainProgram'
}
}
shadowJar {
baseName = 'magnumToLimelightXML'
classifier = null
version = null
}