Enforce that projects are in docs-tip-of-tree
This checks that any project with API tracking enabled can be found in docs-tip-of-tree/build.gradle unless it has been opted-out of docs with `doNotDocumentReason`.
This is to ensure that any docs errors are caught during developement and not at release time when the project is added to docs-public/build.gradle.
Bug: 289373390
Test: All projects with `doNotDocumentReason` added were found by running `./gradlew checkDocsTipOfTree` locally
Change-Id: I5d1fc4f6d3b54df9bf2ec67e76c8dcd5e150bacc
diff --git a/camera/camera-camera2-pipe-integration/build.gradle b/camera/camera-camera2-pipe-integration/build.gradle
index 7c9b212..23cd759 100644
--- a/camera/camera-camera2-pipe-integration/build.gradle
+++ b/camera/camera-camera2-pipe-integration/build.gradle
@@ -113,4 +113,5 @@
"and reliable camera foundation that enables great camera driven experiences across " +
"all of Android."
metalavaK2UastEnabled = true
+ doNotDocumentReason = "Not shipped externally"
}
diff --git a/camera/camera-camera2-pipe-testing/build.gradle b/camera/camera-camera2-pipe-testing/build.gradle
index fbba598..4f625c4 100644
--- a/camera/camera-camera2-pipe-testing/build.gradle
+++ b/camera/camera-camera2-pipe-testing/build.gradle
@@ -74,4 +74,5 @@
"consistent and reliable camera foundation that enables great camera driven " +
"experiences across all of Android."
metalavaK2UastEnabled = true
+ doNotDocumentReason = "Not shipped externally"
}
diff --git a/camera/camera-camera2-pipe/build.gradle b/camera/camera-camera2-pipe/build.gradle
index 3c3ebc4..2afb6a4 100644
--- a/camera/camera-camera2-pipe/build.gradle
+++ b/camera/camera-camera2-pipe/build.gradle
@@ -82,4 +82,5 @@
description = "A set of opinionated camera interfaces and implementations on top of Camera2 " +
"that will form a flexible shim layer to power Frameserver and CameraX."
metalavaK2UastEnabled = true
+ doNotDocumentReason = "Not shipped externally"
}