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