mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Removed publishing of java sim jar
This causes the name of the jar to change, and thus fail to be included in the simulation zip. There is no need to publish java sim jar. Also added dependency on jar being built before zipping it Change-Id: I1fa3dcf405d7da78a8d112381ecc3bfb2d6d367b
This commit is contained in:
@@ -53,29 +53,8 @@ task wpilibjSimJavadocJar(type: Jar, dependsOn: wpilibjSimJavadoc) {
|
||||
from wpilibjSimJavadoc.destinationDir
|
||||
}
|
||||
|
||||
// Maven publishing configuration
|
||||
publishing {
|
||||
publications {
|
||||
wpilibjSim(MavenPublication) {
|
||||
artifact wpilibjSimJar {
|
||||
classifier = 'simulation'
|
||||
}
|
||||
artifact(wpilibjSimSources) {
|
||||
classifier = 'sources-simulation'
|
||||
}
|
||||
artifact(wpilibjSimJavadocJar) {
|
||||
classifier 'javadoc-simulation'
|
||||
}
|
||||
|
||||
groupId 'edu.wpi.first.wpilibj'
|
||||
artifactId 'wpilibJavaSim'
|
||||
version '0.1.0-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//we need to move the simulation jars to the install directory
|
||||
task copyJars(type: Copy) {
|
||||
task copyJars(type: Copy, dependsOn: wpilibjSimJar) {
|
||||
description = 'copy wpilibj simulation jar to make simulation zip'
|
||||
group = 'WPILib Simulation'
|
||||
from wpilibjSimJar.archivePath
|
||||
|
||||
Reference in New Issue
Block a user