mirror of
https://github.com/Team4388/2025RidgeScape.git
synced 2026-06-08 16:28:04 -06:00
The great code restructuring
This commit is contained in:
+21
-1
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id "edu.wpi.first.GradleRIO" version "2025.2.1"
|
||||
id "edu.wpi.first.GradleRIO" version "2025.3.2"
|
||||
id "com.peterabeles.gversion" version "1.10"
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -72,6 +73,9 @@ dependencies {
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
|
||||
def akitJson = new groovy.json.JsonSlurper().parseText(new File(projectDir.getAbsolutePath() + "/vendordeps/AdvantageKit.json").text)
|
||||
annotationProcessor "org.littletonrobotics.akit:akit-autolog:$akitJson.version"
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -102,3 +106,19 @@ wpi.java.configureTestTasks(test)
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs.add '-XDstringConcat=inline'
|
||||
}
|
||||
|
||||
task(replayWatch, type: JavaExec) {
|
||||
mainClass = "org.littletonrobotics.junction.ReplayWatch"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
}
|
||||
|
||||
// Create version file
|
||||
project.compileJava.dependsOn(createVersionFile)
|
||||
gversion {
|
||||
srcDir = "src/main/java/"
|
||||
classPackage = "frc4388.robot.constants"
|
||||
className = "BuildConstants"
|
||||
dateFormat = "yyyy-MM-dd HH:mm:ss z"
|
||||
timeZone = "America/Denver"
|
||||
indent = " "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user