mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
no-unused-private-field for Mac builds. Gradle also now works with the classifier-based dependency system, rather than having separate repos for every level. Change-Id: I2eb87391181e91b5675e3e982e4d915be83e14ea
36 lines
1.0 KiB
Groovy
36 lines
1.0 KiB
Groovy
import org.gradle.internal.os.OperatingSystem
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
// We classify the different artifacts by whether they are sources, and what development
|
|
// stage they are in. Release gets no classifier; stable, beta, and development get classifiers.
|
|
publishing {
|
|
publications {
|
|
if (!project.hasProperty('skipJava')) {
|
|
java(MavenPublication) {
|
|
artifact jar
|
|
artifact networktablesJavaSource
|
|
artifact networktablesJavadoc
|
|
|
|
groupId 'edu.wpi.first.wpilib.networktables.java'
|
|
artifactId 'NetworkTables'
|
|
version '3.0.0-SNAPSHOT'
|
|
}
|
|
}
|
|
cpp(MavenPublication) {
|
|
artifact ntcoreZip
|
|
artifact ntcoreSourceZip
|
|
|
|
groupId 'edu.wpi.first.wpilib.networktables.cpp'
|
|
artifactId 'NetworkTables'
|
|
version '3.0.0-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url "${System.getProperty('user.home')}/releases/maven/"
|
|
}
|
|
}
|
|
}
|