1*115816f9SAndroid Build Coastguard Worker /* 2*115816f9SAndroid Build Coastguard Worker * Copyright (C) 2023 The Android Open Source Project 3*115816f9SAndroid Build Coastguard Worker * 4*115816f9SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*115816f9SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*115816f9SAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*115816f9SAndroid Build Coastguard Worker * 8*115816f9SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*115816f9SAndroid Build Coastguard Worker * 10*115816f9SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*115816f9SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*115816f9SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*115816f9SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*115816f9SAndroid Build Coastguard Worker * limitations under the License. 15*115816f9SAndroid Build Coastguard Worker */ 16*115816f9SAndroid Build Coastguard Worker <lambda>null17*115816f9SAndroid Build Coastguard Workerplugins { 18*115816f9SAndroid Build Coastguard Worker `java-library` 19*115816f9SAndroid Build Coastguard Worker id("org.jetbrains.kotlin.jvm") 20*115816f9SAndroid Build Coastguard Worker id("metalava-build-plugin") 21*115816f9SAndroid Build Coastguard Worker id("maven-publish") 22*115816f9SAndroid Build Coastguard Worker 23*115816f9SAndroid Build Coastguard Worker // This project provides an implementation of the metalava-model. 24*115816f9SAndroid Build Coastguard Worker id("metalava-model-provider-plugin") 25*115816f9SAndroid Build Coastguard Worker } 26*115816f9SAndroid Build Coastguard Worker <lambda>null27*115816f9SAndroid Build Coastguard Workerdependencies { 28*115816f9SAndroid Build Coastguard Worker implementation(project(":metalava-model-source")) 29*115816f9SAndroid Build Coastguard Worker implementation(libs.turbine) { exclude(group = "com.google.protobuf") } 30*115816f9SAndroid Build Coastguard Worker 31*115816f9SAndroid Build Coastguard Worker // Pick up the SourceModelSuiteRunner service to run the `metalava-model-testsuite`. 32*115816f9SAndroid Build Coastguard Worker testImplementation(testFixtures(project(":metalava-model-source"))) 33*115816f9SAndroid Build Coastguard Worker testImplementation(project(":metalava-model-testsuite")) 34*115816f9SAndroid Build Coastguard Worker testImplementation(project(":metalava-testing")) 35*115816f9SAndroid Build Coastguard Worker testImplementation(libs.androidLintTests) 36*115816f9SAndroid Build Coastguard Worker testImplementation(libs.junit4) 37*115816f9SAndroid Build Coastguard Worker testImplementation(libs.truth) 38*115816f9SAndroid Build Coastguard Worker testImplementation(libs.kotlinTest) 39*115816f9SAndroid Build Coastguard Worker } 40