Skip to content

Commit c748c61

Browse files
naznia-devcopybara-github
authored andcommitted
First release of the Key Attestation Verifier app.
PiperOrigin-RevId: 893416680
1 parent 47f970d commit c748c61

20 files changed

Lines changed: 1947 additions & 20 deletions

app/build.gradle.kts

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
/*
2+
* Copyright 2026 Google LLC
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+
plugins {
17+
id("com.android.application")
18+
id("org.jetbrains.kotlin.android")
19+
}
20+
21+
android {
22+
namespace = "com.android.attestation.app"
23+
compileSdk = 34
24+
25+
defaultConfig {
26+
applicationId = "com.android.attestation.app"
27+
minSdk = 34
28+
targetSdk = 34
29+
versionCode = 1
30+
versionName = "1.0"
31+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
32+
}
33+
34+
buildTypes {
35+
release {
36+
isMinifyEnabled = false
37+
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
38+
}
39+
}
40+
41+
compileOptions {
42+
sourceCompatibility = JavaVersion.VERSION_17
43+
targetCompatibility = JavaVersion.VERSION_17
44+
}
45+
46+
packaging { resources { excludes.add("META-INF/versions/9/OSGI-INF/MANIFEST.MF") } }
47+
}
48+
49+
dependencies {
50+
implementation(project(":"))
51+
implementation("androidx.appcompat:appcompat:1.7.0")
52+
implementation("com.google.android.material:material:1.12.0")
53+
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
54+
implementation("androidx.activity:activity:1.9.0")
55+
implementation("androidx.activity:activity-compose:1.8.0")
56+
implementation("androidx.core:core-ktx:1.10.1")
57+
implementation("com.google.guava:guava:33.5.0-android")
58+
implementation("com.google.protobuf:protobuf-javalite:4.28.3")
59+
60+
testImplementation("junit:junit:4.13.2")
61+
androidTestImplementation("androidx.test.ext:junit:1.1.5")
62+
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
63+
}
64+
65+
repositories {
66+
google()
67+
mavenCentral()
68+
}

app/src/main/AndroidManifest.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.android.attestation.app">
4+
5+
<uses-sdk android:minSdkVersion="34" android:targetSdkVersion="34"/>
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7+
<uses-permission android:name="android.permission.INTERNET" />
8+
<application
9+
android:allowBackup="true"
10+
android:label="@string/app_name"
11+
android:supportsRtl="true"
12+
android:theme="@style/AppTheme"
13+
android:icon="@drawable/ic_launcher_verifier"
14+
android:roundIcon="@drawable/ic_launcher_verifier">
15+
16+
<activity android:name=".MainActivity" android:exported="true">
17+
<intent-filter>
18+
<action android:name="android.intent.action.MAIN" />
19+
<category android:name="android.intent.category.LAUNCHER" />
20+
</intent-filter>
21+
</activity>
22+
</application>
23+
</manifest>

0 commit comments

Comments
 (0)