File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed
src/main/resources/export/java Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ deploy {
4343
4444def deployArtifact = deploy. targets. roborio. artifacts. frcJava
4545
46- // Set to true to use debug for JNI.
46+ // Set to true to use debug for all targets including JNI, which will drastically impact
47+ // performance
4748wpi. java. debugJni = false
4849
4950#@autogenerated_code (" desktop" , " " )
@@ -89,7 +90,9 @@ wpi.sim.addDriverstation()
8990// knows where to look for our Robot Class.
9091jar {
9192 from { configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) } }
92- from sourceSets. main. allSource
93+ from(' src' ) { into ' backup/src' }
94+ from(' vendordeps' ) { into ' backup/vendordeps' }
95+ from(' build.gradle' ) { into ' backup' }
9396 manifest edu.wpi.first.gradlerio.GradleRIOPlugin . javaManifest(ROBOT_MAIN_CLASS )
9497 duplicatesStrategy = DuplicatesStrategy . INCLUDE
9598}
Original file line number Diff line number Diff line change 2525 }
2626 },
2727 ],
28- "java.test.defaultConfig" : " WPIlibUnitTests"
28+ "java.test.defaultConfig" : " WPIlibUnitTests" ,
29+ "java.import.gradle.annotationProcessing.enabled" : false ,
30+ "java.completion.favoriteStaticMembers" : [
31+ " org.junit.Assert.*" ,
32+ " org.junit.Assume.*" ,
33+ " org.junit.jupiter.api.Assertions.*" ,
34+ " org.junit.jupiter.api.Assumptions.*" ,
35+ " org.junit.jupiter.api.DynamicContainer.*" ,
36+ " org.junit.jupiter.api.DynamicTest.*" ,
37+ " org.mockito.Mockito.*" ,
38+ " org.mockito.ArgumentMatchers.*" ,
39+ " org.mockito.Answers.*" ,
40+ " edu.wpi.first.units.Units.*"
41+ ],
42+ "java.completion.filteredTypes" : [
43+ " java.awt.*" ,
44+ " com.sun.*" ,
45+ " sun.*" ,
46+ " jdk.*" ,
47+ " org.graalvm.*" ,
48+ " io.micrometer.shaded.*" ,
49+ " java.beans.*" ,
50+ " java.util.Base64.*" ,
51+ " java.util.Timer" ,
52+ " java.sql.*" ,
53+ " javax.swing.*" ,
54+ " javax.management.*" ,
55+ " javax.smartcardio.*" ,
56+ " edu.wpi.first.math.proto.*" ,
57+ " edu.wpi.first.math.**.proto.*" ,
58+ " edu.wpi.first.math.**.struct.*" ,
59+ ],
60+ "java.dependency.enableDependencyCheckup" : false
2961}
You can’t perform that action at this time.
0 commit comments