mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
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
40 lines
862 B
Groovy
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'
|
|
}
|