forked from dirty-mechanics-3932/TeamForgeRobotBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (34 loc) · 985 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
// seems to be not including the dependencies in the jar. I had thought that the compile
// dependencies would become runtime dependcies and be built in.
// and one of the unit tests fails
apply plugin: 'java'
apply plugin: 'maven'
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.velocity:velocity:1.7'
compile 'org.yaml:snakeyaml:1.10'
testCompile 'junit:junit:4.11'
}
jar {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
manifest {
attributes('Implementation-Title': 'RobotBuilder',
'Implementation-Version': '2.0.0',
'Built-By': System.getProperty('user.name'),
'Built-Date': new Date(),
'Built-JDK': System.getProperty('java.version'),
'Main-class': 'robotbuilder.RobotBuilder')
}
}
uploadArchives {
repositories {
mavenDeployer {
}
}
}