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:
Peter_Mitrano
2016-01-20 15:15:02 -05:00
parent 8801568325
commit f9e87f0cce

View File

@@ -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