Scaffolding for resource inspection annotations

Test: ./gradlew buildOnServer
Relnote: N/A
Bug: 126246418
Change-Id: Ibeba2b691f9d2c716c2a0fd9c4ca0c2d864fdaad
diff --git a/resourceinspection/resourceinspection-annotation/api/current.txt b/resourceinspection/resourceinspection-annotation/api/current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/resourceinspection/resourceinspection-annotation/api/current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/resourceinspection/resourceinspection-annotation/api/public_plus_experimental_current.txt b/resourceinspection/resourceinspection-annotation/api/public_plus_experimental_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/resourceinspection/resourceinspection-annotation/api/public_plus_experimental_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/resourceinspection/resourceinspection-annotation/api/restricted_current.txt b/resourceinspection/resourceinspection-annotation/api/restricted_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/resourceinspection/resourceinspection-annotation/api/restricted_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/resourceinspection/resourceinspection-annotation/build.gradle b/resourceinspection/resourceinspection-annotation/build.gradle
new file mode 100644
index 0000000..284c6e1
--- /dev/null
+++ b/resourceinspection/resourceinspection-annotation/build.gradle
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import androidx.build.LibraryGroups
+import androidx.build.LibraryType
+
+plugins {
+    id("AndroidXPlugin")
+    id("java-library")
+}
+
+dependencies {
+    implementation("androidx.annotation:annotation:1.1.0")
+}
+
+java {
+    sourceCompatibility = JavaVersion.VERSION_1_7
+    targetCompatibility = JavaVersion.VERSION_1_7
+}
+
+androidx {
+    name = "Android Resource Inspection - Annotations"
+    type = LibraryType.PUBLISHED_LIBRARY
+    mavenGroup = LibraryGroups.RESOURCEINSPECTION
+    inceptionYear = "2021"
+    description = "Annotation processors for Android resource and layout inspection"
+}
diff --git a/resourceinspection/resourceinspection-processor/build.gradle b/resourceinspection/resourceinspection-processor/build.gradle
index 639f6e5..5388364 100644
--- a/resourceinspection/resourceinspection-processor/build.gradle
+++ b/resourceinspection/resourceinspection-processor/build.gradle
@@ -26,6 +26,8 @@
 }
 
 dependencies {
+    implementation(project(":resourceinspection:resourceinspection-annotation"))
+
     implementation(KOTLIN_STDLIB)
 }
 
diff --git a/settings.gradle b/settings.gradle
index a739fe9..3175ace 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -443,6 +443,7 @@
 includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection", [BuildType.MAIN])
 includeProject(":remotecallback:remotecallback", "remotecallback/remotecallback", [BuildType.MAIN])
 includeProject(":remotecallback:remotecallback-processor", "remotecallback/processor", [BuildType.MAIN])
+includeProject(":resourceinspection:resourceinspection-annotation", "resourceinspection/resourceinspection-annotation")
 includeProject(":resourceinspection:resourceinspection-processor", "resourceinspection/resourceinspection-processor", [BuildType.MAIN])
 includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing", [BuildType.MAIN])
 includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp", [BuildType.MAIN])