mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +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
45 lines
1.1 KiB
Groovy
45 lines
1.1 KiB
Groovy
apply plugin: 'java'
|
|
|
|
group = "edu.wpi.frc.wpilib"
|
|
version = "2.0"
|
|
archivesBaseName = 'NetworkTables'
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs = ["src/main/java", "Athena/src/main/java"]
|
|
}
|
|
}
|
|
test {
|
|
java {
|
|
srcDirs = ["src/test/java"]
|
|
excludes = ["edu/wpi/first/wpilibj/networktables2/system/SystemTest.java"]
|
|
}
|
|
}
|
|
}
|
|
|
|
task networktablesSource(type: Jar, dependsOn: classes) {
|
|
description = 'Generates the source jar for NetworktTables java'
|
|
group = 'WPILib'
|
|
classifier = 'classes'
|
|
from sourceSets.main.allJava
|
|
}
|
|
|
|
task networktablesJavadoc(type: Jar, dependsOn: javadoc) {
|
|
description = 'Generates the javadoc jar for NetworkTables java'
|
|
group = 'WPILib'
|
|
classifier = 'javadoc'
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testCompile group: 'junit', name: 'junit', version: '4.+'
|
|
testCompile group: 'org.jmock', name: 'jmock-junit4', version: '2.6.0'
|
|
testCompile group: 'org.jmock', name: 'jmock-legacy', version: '2.6.0'
|
|
}
|
|
|