check-flagged-apis: add support for command line options

Use clikt as the command line options parser library.

Bug: 334870672
Test: m check-flagged-apis && check-flagged-apis
Change-Id: I7c406456b00e29293294dcdbef411d2543a1e8d5
This commit is contained in:
Mårten Kongstad
2024-04-16 10:30:26 +02:00
parent 9008724b50
commit acfeb11d86
2 changed files with 14 additions and 1 deletions

View File

@@ -21,5 +21,8 @@ java_binary_host {
srcs: [
"src/**/*.kt",
],
static_libs: [
"metalava-tools-common-m2-deps",
],
main_class: "com.android.checkflaggedapis.Main",
}