mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Beginning of gradle conversion.
Change-Id: Ic9690af60cd53b5237cd8c05d41598a94f6025f1
This commit is contained in:
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user