mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Also fixes the google compile-testing library to 0.23.0 (the latest available at time of writing) instead of a wildcard Jackson versions were inconsistent across projects; most were on 2.19.2, but the fields subproject was on 2.15.2. All projects are now on 2.19.2 for consistency
52 lines
1.4 KiB
Groovy
52 lines
1.4 KiB
Groovy
ext {
|
|
useJava = true
|
|
useCpp = false
|
|
baseId = 'commands3'
|
|
groupId = 'org.wpilib'
|
|
|
|
nativeName = 'commands3'
|
|
devMain = 'org.wpilib.commands3.DevMain'
|
|
}
|
|
|
|
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
|
|
|
evaluationDependsOn(':wpiutil')
|
|
evaluationDependsOn(':ntcore')
|
|
evaluationDependsOn(':hal')
|
|
evaluationDependsOn(':wpimath')
|
|
evaluationDependsOn(':wpilibj')
|
|
|
|
dependencies {
|
|
annotationProcessor project(':javacPlugin')
|
|
implementation project(':wpiannotations')
|
|
implementation project(':wpiutil')
|
|
implementation project(':wpinet')
|
|
implementation project(':ntcore')
|
|
implementation project(':hal')
|
|
implementation project(':wpimath')
|
|
implementation project(':wpilibj')
|
|
api(libs.quickbuf.runtime)
|
|
testAnnotationProcessor project(':javacPlugin')
|
|
testAnnotationProcessor project(':epilogue-processor')
|
|
testImplementation(libs.bundles.mockito)
|
|
testImplementation project(':epilogue-runtime')
|
|
}
|
|
|
|
sourceSets.main.java.srcDir "${projectDir}/src/generated/main/java"
|
|
sourceSets.main.resources.srcDir "${projectDir}/src/main/proto"
|
|
|
|
test {
|
|
testLogging {
|
|
outputs.upToDateWhen {false}
|
|
showStandardStreams = true
|
|
}
|
|
|
|
// For reflective access to the continuation classes
|
|
jvmArgs += [
|
|
'--add-opens',
|
|
'java.base/jdk.internal.vm=ALL-UNNAMED',
|
|
'--add-opens',
|
|
'java.base/java.lang=ALL-UNNAMED',
|
|
]
|
|
}
|