blob: c85fee5d72ec8d760a45e8027d3225d6ccf00256 (
plain)
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
|
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'application'
mainClassName = "edu.wpi.first.smartdashboard.main"
sourceSets {
main {
java.srcDir "src/"
}
}
dependencies {
compile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:0.1.0-SNAPSHOT'
compile 'junit:junit:4.12'
compile 'jcommon:jcommon:0.9.5'
compile 'jfreechart:jfreechart:1.0.0'
}
repositories {
maven {
url "http://first.wpi.edu/FRC/roborio/maven/"
}
mavenCentral()
}
publishing {
publications {
maven(MavenPublication) {
from components.java
artifact (jar) {
classifier = 'jar'
}
groupId 'edu.wpi.first.wpilib'
artifactId 'SmartDashboard'
version '1.0.0-SNAPSHOT'
}
}
repositories {
maven {
url "file://${System.properties['user.home']}/releases/maven"
}
}
}
jar {
manifest {
attributes 'Main-Class': 'edu.wpi.first.smartdashboard.main'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
|