1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // Subproject containing code that is common to all models that are produced from source code. 18 <lambda>null19plugins { 20 `java-library` 21 `java-test-fixtures` 22 id("org.jetbrains.kotlin.jvm") 23 id("metalava-build-plugin") 24 id("maven-publish") 25 } 26 <lambda>null27dependencies { 28 implementation(project(":metalava-model")) 29 implementation(project(":metalava-reporter")) 30 31 testFixturesImplementation(project(":metalava-model")) 32 testFixturesImplementation(testFixtures(project(":metalava-model"))) 33 testFixturesImplementation(project(":metalava-model-testsuite")) 34 testFixturesImplementation(project(":metalava-reporter")) 35 testFixturesImplementation(libs.androidLintTests) 36 testFixturesImplementation(project(":metalava-testing")) 37 38 testImplementation(libs.androidLintTests) 39 testImplementation(libs.junit4) 40 testImplementation(libs.truth) 41 testImplementation(libs.kotlinTest) 42 } 43