1/* 2 * Copyright 2018 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 17plugins { 18 id("AndroidXPlugin") 19 id("com.android.application") 20} 21 22dependencies { 23 implementation(libs.jspecify) 24 implementation(project(":room:room-runtime")) 25 annotationProcessor(project(":room:room-compiler")) 26 androidTestAnnotationProcessor(project(":room:room-compiler")) 27 androidTestImplementation("androidx.annotation:annotation:1.8.1") 28 androidTestImplementation(libs.testExtJunit) 29 androidTestImplementation(libs.testCore) 30 androidTestImplementation(libs.testRunner) 31 androidTestImplementation(libs.espressoCore) 32 testImplementation(libs.junit) 33} 34 35android { 36 namespace = "androidx.room.integration.noappcompat" 37} 38 39// Enable parameter names to support Room incremental when its a project() dep. 40// See b/198431380 41tasks.withType(JavaCompile) { 42 options.compilerArgs << "-parameters" 43}