blob: b1fcaf67fa0bf00c3f219c27d83c61eb558b0e4f (
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
54
55
56
57
58
59
|
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'maven-publish'
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.1'
}
}
if (!hasProperty('repo')) {
ext.repo = 'development'
}
mainClassName = "edu.wpi.first.smartdashboard.main"
publishing {
publications {
maven(MavenPublication) {
artifact(shadowJar) {
classifier null
}
groupId 'edu.wpi.first.wpilib'
artifactId 'SmartDashboard'
version '1.0.0-SNAPSHOT'
}
}
repositories.maven {
url = "${System.getProperty('user.home')}/releases/maven/$repo"
}
}
sourceSets {
main {
java {
srcDirs = ["src"]
}
}
}
repositories {
mavenCentral()
maven {
url = "${System.getProperty('user.home')}/releases/maven/$repo"
}
mavenLocal()
maven {
url = "http://first.wpi.edu/FRC/roborio/maven/$repo"
}
}
dependencies {
compile "edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:desktop"
compile 'junit:junit:4.12'
compile 'jcommon:jcommon:0.9.5'
compile 'jfreechart:jfreechart:1.0.0'
}
|