Skip to content

Commit

Permalink
now its not a fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
OroArmor committed Jul 25, 2020
1 parent d090571 commit 5171641
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down Expand Up @@ -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)
}

0 comments on commit 5171641

Please sign in to comment.