1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion 34 5 defaultConfig { 6 applicationId "com.helloworld" 7 minSdkVersion 23 8 targetSdkVersion 34 9 versionCode 1 10 versionName "1.0" 11 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 } 13 buildTypes { 14 release { 15 minifyEnabled false 16 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 } 18 } 19 compileOptions { 20 sourceCompatibility 1.8 21 targetCompatibility 1.8 22 } 23 lintOptions { 24 abortOnError false 25 } 26} 27 28apply from: "maven_${mavenLocation}.gradle" 29 30dependencies { 31 implementation fileTree(dir: 'libs', include: ['*.jar']) 32 androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { 33 exclude group: 'com.android.support', module: 'support-annotations' 34 // This is already included in protobuf-lite that Tink depends on. 35 exclude group: 'com.google.code.findbugs' 36 }) 37 implementation 'com.android.support:appcompat-v7:28.0.0' 38 implementation 'com.android.support:design:28.0.0' 39 testImplementation 'junit:junit:4.12' 40 41 // Tink HEAD-SNAPSHOT for Android. 42 // In production apps, please use a named version, e.g., 1.4.0. 43 implementation 'com.google.crypto.tink:tink-android:HEAD-SNAPSHOT' 44 45 // An artificial dependency to test whether Tink can co-exist with other 46 // protobuf dependencies. Please remove from production apps. 47 implementation 'com.google.protobuf:protobuf-lite:3.0.1' 48} 49