1/* 2 * Copyright (C) 2019 The Dagger Authors. 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 17apply plugin: 'com.android.application' 18 19android { 20 compileSdkVersion 30 21 buildToolsVersion "30.0.2" 22 23 defaultConfig { 24 applicationId "dagger.example.gradle.android.simple" 25 minSdkVersion 15 26 targetSdkVersion 30 27 versionCode 1 28 versionName "1.0" 29 } 30} 31 32dependencies { 33 implementation 'androidx.appcompat:appcompat:1.2.0' 34 implementation 'com.google.dagger:dagger:LOCAL-SNAPSHOT' 35 implementation 'com.google.dagger:dagger-android-support:LOCAL-SNAPSHOT' 36 annotationProcessor 'com.google.dagger:dagger-compiler:LOCAL-SNAPSHOT' 37 annotationProcessor 'com.google.dagger:dagger-android-processor:LOCAL-SNAPSHOT' 38 39 // To help us catch usages of Guava APIs for Java 8 in the '-jre' variant. 40 annotationProcessor'com.google.guava:guava:28.1-android' 41} 42