Files
allwpilib/networktables/OutlineViewer/build.gradle
Fredric Silberberg 00f797a327 NetworkTables updates for beta
This commit does a few things. First, we publish ntcore as a maven
artifact so the plugins can build with new networktables, and java
programs will depend on the correct version when compiled. We also revert
the changes to OutlineViewer for now. I got an exception when attempting
to start a server with the new network tables in OutlineViewer on Windows,
I will create a bug for this. Also, since we don't have the binaries
integrating properly yet and won't for the first beta, we need to be using
the platform agnostic version anyway.

Change-Id: I9960f25bc3f2b30bb59fce665eb914ef5e661c9c
2015-09-21 18:14:18 -04:00

40 lines
862 B
Groovy

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'
}
}
mainClassName = 'edu.wpi.first.tableviewer.TableViewer'
publishing {
publications {
maven(MavenPublication) {
artifact(shadowJar) {
classifier null
}
groupId 'edu.wpi.first.wpilib.networktables'
artifactId 'OutlineViewer'
version '1.0.0-SNAPSHOT'
}
}
}
sourceSets {
main {
java {
srcDirs = ["src"]
}
}
}
dependencies {
compile project(":networktables:java")
compile 'uk.gov.nationalarchives.thirdparty.netbeans:org-netbeans-swing-outline:7.2'
}