123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- plugins {
- alias(libs.plugins.android.application)
- }
- android {
- namespace = "com.example.webapplication"
- compileSdk = 34
- defaultConfig {
- applicationId = "com.example.webapplication"
- minSdk = 24
- targetSdk = 34
- versionCode = 1
- versionName = "1.0"
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- isMinifyEnabled = false
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
- }
- buildFeatures {
- viewBinding = true
- }
- }
- dependencies {
- implementation(libs.appcompat)
- implementation(libs.material)
- implementation(libs.constraintlayout)
- implementation(libs.lifecycle.livedata.ktx)
- implementation(libs.lifecycle.viewmodel.ktx)
- implementation(libs.navigation.fragment)
- implementation(libs.navigation.ui)
- testImplementation(libs.junit)
- androidTestImplementation(libs.ext.junit)
- androidTestImplementation(libs.espresso.core)
- implementation(libs.blakj)
- }
|