1*7ca20792SAndroid Build Coastguard Worker/* Copyright 2016, The Android Open Source Project, Inc. 2*7ca20792SAndroid Build Coastguard Worker * 3*7ca20792SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 4*7ca20792SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 5*7ca20792SAndroid Build Coastguard Worker * You may obtain a copy of the License at 6*7ca20792SAndroid Build Coastguard Worker * 7*7ca20792SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 8*7ca20792SAndroid Build Coastguard Worker * 9*7ca20792SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 10*7ca20792SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 11*7ca20792SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*7ca20792SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 13*7ca20792SAndroid Build Coastguard Worker * limitations under the License. 14*7ca20792SAndroid Build Coastguard Worker */ 15*7ca20792SAndroid Build Coastguard Worker 16*7ca20792SAndroid Build Coastguard Workerapply plugin: 'java' 17*7ca20792SAndroid Build Coastguard Workerapply plugin: 'application' 18*7ca20792SAndroid Build Coastguard Worker 19*7ca20792SAndroid Build Coastguard Worker// Set the main class for for Gradle 'run' task. 20*7ca20792SAndroid Build Coastguard Worker//noinspection GroovyUnusedAssignment 21*7ca20792SAndroid Build Coastguard WorkermainClassName = 'com.android.example.KeyAttestationExample' 22*7ca20792SAndroid Build Coastguard Worker 23*7ca20792SAndroid Build Coastguard Workerrepositories { 24*7ca20792SAndroid Build Coastguard Worker mavenCentral() 25*7ca20792SAndroid Build Coastguard Worker} 26*7ca20792SAndroid Build Coastguard Worker 27*7ca20792SAndroid Build Coastguard Workerdependencies { 28*7ca20792SAndroid Build Coastguard Worker // Bouncy Castle Cryptography APIs used for certificate verification 29*7ca20792SAndroid Build Coastguard Worker compile 'org.bouncycastle:bcpkix-jdk15on:1.61' 30*7ca20792SAndroid Build Coastguard Worker compile 'com.google.guava:guava:27.0.1-android' 31*7ca20792SAndroid Build Coastguard Worker compile 'com.google.errorprone:error_prone_annotations:2.3.1' 32*7ca20792SAndroid Build Coastguard Worker // Gson used for decoding certificate status list 33*7ca20792SAndroid Build Coastguard Worker compile 'com.google.code.gson:gson:2.8.5' 34*7ca20792SAndroid Build Coastguard Worker // JUnit, Truth and Truth8 used for testing 35*7ca20792SAndroid Build Coastguard Worker testCompile 'junit:junit:4.12' 36*7ca20792SAndroid Build Coastguard Worker testCompile 'com.google.truth:truth:1.0' 37*7ca20792SAndroid Build Coastguard Worker testCompile 'com.google.truth.extensions:truth-java8-extension:1.0' 38*7ca20792SAndroid Build Coastguard Worker} 39