-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (30 loc) · 911 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
group 'com.robo4j'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply from: 'libraries.gradle'
version "${robo4jVersion}"
sourceCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'robo4j-tank-joystick',
'Implementation-Version': version,
'Main-Class': 'com.robo4j.joystick.tank.TankJoystickMain'
}
//baseName = project.name + '-all'
baseName = 'robo4j-tank-joystick'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
compile "com.robo4j:robo4j-socket-http:${robo4jVersion}"
testCompile "junit:junit:${junitVersion}@jar"
testCompile "org.hamcrest:hamcrest-all:${hamcrestAllVersion}@jar"
}
task wrapper(type: Wrapper) {
gradleVersion = "${gradleVersion}"
}