summaryrefslogtreecommitdiff
path: root/smartdashboard/build.gradle
blob: d63444351b1200b6512c6b15b1256d6539c9edc7 (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 'jfree:jcommon:1.0.16'
    compile 'jfree:jfreechart:1.0.13'
}