mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Beginning of gradle conversion.
Change-Id: Ic9690af60cd53b5237cd8c05d41598a94f6025f1
This commit is contained in:
24
networktables/OutlineViewer/build.gradle
Normal file
24
networktables/OutlineViewer/build.gradle
Normal file
@@ -0,0 +1,24 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
|
||||
group = "edu.wpi.frc.wpilib"
|
||||
version = "2.0"
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs = ["src"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":java")
|
||||
}
|
||||
19
networktables/cpp/build.gradle
Normal file
19
networktables/cpp/build.gradle
Normal file
@@ -0,0 +1,19 @@
|
||||
apply plugin: 'cpp'
|
||||
|
||||
libraries {
|
||||
main {}
|
||||
}
|
||||
|
||||
sources {
|
||||
main {
|
||||
cpp {
|
||||
source {
|
||||
srcDirs = ["lib/share", "lib/Athena"]
|
||||
// includes = "**/*.cpp"
|
||||
}
|
||||
exportedHeaders {
|
||||
srcDirs = ["include"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
24
networktables/java-table-viewer/build.gradle
Normal file
24
networktables/java-table-viewer/build.gradle
Normal file
@@ -0,0 +1,24 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
|
||||
group = "edu.wpi.frc.wpilib"
|
||||
version = "2.0"
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs = ["src"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":java")
|
||||
}
|
||||
39
networktables/java/build.gradle
Normal file
39
networktables/java/build.gradle
Normal file
@@ -0,0 +1,39 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
|
||||
group = "edu.wpi.frc.wpilib"
|
||||
version = "2.0"
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs = ["src/main/java", "Athena/src/main/java"]
|
||||
}
|
||||
}
|
||||
test {
|
||||
java {
|
||||
srcDirs = ["Athena/src/test/java"]
|
||||
excludes = ["edu/wpi/first/wpilibj/networktables2/system/SystemTest.java"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
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'
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
repository(url: "file://localhost/tmp/myRepo/")
|
||||
pom.artifactId = 'networktables'
|
||||
}
|
||||
}
|
||||
}
|
||||
1
networktables/settings.gradle
Normal file
1
networktables/settings.gradle
Normal file
@@ -0,0 +1 @@
|
||||
include "java", "java-table-viewer"
|
||||
Reference in New Issue
Block a user