Skip to content

Commit

Permalink
More Gradle Fixes (#9)
Browse files Browse the repository at this point in the history
* Fix issues in build.gradle

* Swap testing framework to JUnit 4

* Make sure that downloadDepsPreemptively doesn't fail because of missing librarires

* Fix indenting in build.gradle and remove redundent property

* ensure proper line endings for script files

* move gitattributes to correct location

* fix path
  • Loading branch information
cuttestkittensrule authored Sep 27, 2024
1 parent 6b4ba21 commit 4fd2bd8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
SharpShooter/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

5 changes: 2 additions & 3 deletions SharpShooter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def includeDesktopSupport = false
dependencies {
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()
implementation "com.team2813.lib2813:lib2813"
implementation "com.team2813.lib2813:limelight"
implementation "com.team2813.lib2813:lib2813"
implementation "com.team2813.lib2813:limelight"

roborioDebug wpi.java.deps.wpilibJniDebug(wpi.platforms.roborio)
roborioDebug wpi.java.vendor.jniDebug(wpi.platforms.roborio)
Expand All @@ -77,7 +77,6 @@ downloadDepsPreemptively.dependsOn gradle.includedBuild("lib2813").task(":limeli

test {
useJUnit()
systemProperty 'junit.jupiter.extensions.autodetection.enabled', 'true'
}

// Simulation configuration (e.g. environment variables).
Expand Down

0 comments on commit 4fd2bd8

Please sign in to comment.