Skip to content

Commit

Permalink
[epilogue] Remove dependency on Google AutoService (#6955)
Browse files Browse the repository at this point in the history
This makes potential future compilation with CMake easier and reduces the amount of external code we depend on.
  • Loading branch information
Gold856 authored Aug 14, 2024
1 parent 8e0d9ac commit 112f536
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions epilogue-processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:+'
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,7 +15,6 @@
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;
Expand All @@ -40,7 +38,6 @@
"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 =
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edu.wpi.first.epilogue.processor.AnnotationProcessor

0 comments on commit 112f536

Please sign in to comment.