From f9e87f0cce0e7197e13683ac8030be82a3708e8e Mon Sep 17 00:00:00 2001 From: Peter_Mitrano Date: Wed, 20 Jan 2016 15:15:02 -0500 Subject: [PATCH] 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 --- wpilibj/simulation.gradle | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/wpilibj/simulation.gradle b/wpilibj/simulation.gradle index de0eb0f067..c3be243051 100644 --- a/wpilibj/simulation.gradle +++ b/wpilibj/simulation.gradle @@ -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