From 5171641c20a0c0e7532c36bc1ad11b0c089ccb7f Mon Sep 17 00:00:00 2001 From: OroArmor Date: Fri, 24 Jul 2020 18:15:52 -0700 Subject: [PATCH] now its not a fat jar --- build.gradle | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 189546f..ea007a2 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ buildscript { } } dependencies { - classpath "edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2020.2.2" + classpath "edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2020.3.2" } } @@ -114,19 +114,11 @@ dependencies { nativeDesktopZip wpi.deps.vendor.jni(wpi.platforms.desktop) testImplementation 'junit:junit:4.12' - testCompile 'org.mockito:mockito-core:3.2.0' - testCompile 'net.bytebuddy:byte-buddy:1.10.3' - testCompile 'org.objenesis:objenesis:2.6' + testImplementation 'org.mockito:mockito-core:3.2.0' + testImplementation 'net.bytebuddy:byte-buddy:1.10.3' + testImplementation 'org.objenesis:objenesis:2.6' // Enable simulation gui support. Must check the box in vscode to enable support // upon debugging simulation wpi.deps.sim.gui(wpi.platforms.desktop, false) -} - -// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar') -// in order to make them all available at runtime. Also adding the manifest so WPILib -// knows where to look for our Robot Class. -jar { - from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } - manifest edu.wpi.first.gradlerio.GradleRIOPlugin.javaManifest(ROBOT_MAIN_CLASS) } \ No newline at end of file