mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[epilogue] Remove dependency on Google AutoService (#6955)
This makes potential future compilation with CMake easier and reduces the amount of external code we depend on.
This commit is contained in:
@@ -13,7 +13,5 @@ dependencies {
|
||||
implementation(project(':epilogue-runtime'))
|
||||
api project(':wpilibNewCommands')
|
||||
|
||||
implementation 'com.google.auto.service:auto-service:1.1.1'
|
||||
annotationProcessor 'com.google.auto.service:auto-service:1.1.1'
|
||||
testImplementation 'com.google.testing.compile:compile-testing:+'
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
package edu.wpi.first.epilogue.processor;
|
||||
|
||||
import com.google.auto.service.AutoService;
|
||||
import edu.wpi.first.epilogue.CustomLoggerFor;
|
||||
import edu.wpi.first.epilogue.Logged;
|
||||
import edu.wpi.first.epilogue.NotLogged;
|
||||
@@ -16,7 +15,6 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import javax.annotation.processing.AbstractProcessor;
|
||||
import javax.annotation.processing.Processor;
|
||||
import javax.annotation.processing.RoundEnvironment;
|
||||
import javax.annotation.processing.SupportedAnnotationTypes;
|
||||
import javax.annotation.processing.SupportedSourceVersion;
|
||||
@@ -40,7 +38,6 @@ import javax.tools.Diagnostic;
|
||||
"edu.wpi.first.epilogue.Logged"
|
||||
})
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_17)
|
||||
@AutoService(Processor.class)
|
||||
public class AnnotationProcessor extends AbstractProcessor {
|
||||
private static final String kCustomLoggerFqn = "edu.wpi.first.epilogue.CustomLoggerFor";
|
||||
private static final String kClassSpecificLoggerFqn =
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
edu.wpi.first.epilogue.processor.AnnotationProcessor
|
||||
Reference in New Issue
Block a user