<lambda>null1plugins { 2 id("com.android.application") 3 id("org.jetbrains.kotlin.android") 4 } 5 <lambda>null6android { 7 namespace = "com.android.devicediagnostics" 8 compileSdk = 34 9 10 defaultConfig { 11 applicationId = "com.android.devicediagnostics" 12 minSdk = 34 13 targetSdk = 34 14 versionCode = 1 15 versionName = "1.0" 16 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 18 vectorDrawables { 19 useSupportLibrary = true 20 } 21 } 22 23 buildTypes { 24 release { 25 isMinifyEnabled = false 26 proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") 27 } 28 } 29 compileOptions { 30 sourceCompatibility = JavaVersion.VERSION_1_8 31 targetCompatibility = JavaVersion.VERSION_1_8 32 } 33 kotlinOptions { 34 jvmTarget = "1.8" 35 } 36 buildFeatures { 37 compose = true 38 } 39 composeOptions { 40 kotlinCompilerExtensionVersion = "1.4.3" 41 } 42 packaging { 43 resources { 44 excludes += "/META-INF/{AL2.0,LGPL2.1}" 45 } 46 } 47 } 48 49 dependencies { 50 51 implementation("androidx.core:core-ktx:1.12.0") 52 implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2") 53 implementation("androidx.activity:activity-compose:1.8.1") 54 implementation(platform("androidx.compose:compose-bom:2023.03.00")) 55 implementation("androidx.compose.ui:ui") 56 implementation("androidx.compose.ui:ui-graphics") 57 implementation("androidx.compose.ui:ui-tooling-preview") 58 implementation("androidx.compose.material3:material3") 59 implementation("com.google.zxing:zxingorg:3.5.2") 60 implementation("com.journeyapps:zxing-android-embedded:4.3.0") 61 implementation("com.google.guava:guava:32.1.3-jre") 62 implementation( "androidx.compose.runtime:runtime:1.5.4" ) 63 implementation( "androidx.compose.runtime:runtime-livedata:1.5.4" ) 64 implementation( "androidx.compose.runtime:runtime-rxjava2:1.5.4" ) 65 implementation(files("libs/android-key-attestation.jar")) 66 implementation("org.bouncycastle:bc-fips:1.0.2.4") 67 implementation("com.google.code.gson:gson:2.10.1") 68 implementation("androidx.compose.ui:ui-android:1.5.4") 69 implementation(files("libs/SettingsLib.jar")) 70 implementation("androidx.preference:preference-ktx:1.2.1") 71 implementation(files("libs/SettingsLibLayoutPreference.jar")) 72 implementation(project(":DeviceDiagnosticsLib")) 73 testImplementation("junit:junit:4.13.2") 74 androidTestImplementation("androidx.test.ext:junit:1.1.5") 75 androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") 76 androidTestImplementation(platform("androidx.compose:compose-bom:2023.03.00")) 77 androidTestImplementation("androidx.compose.ui:ui-test-junit4") 78 debugImplementation("androidx.compose.ui:ui-tooling") 79 debugImplementation("androidx.compose.ui:ui-test-manifest") 80 implementation(kotlin("reflect")) 81 }