1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- plugins {
- alias(libs.plugins.android.application)
- }
- android {
- namespace 'com.example.base'
- compileSdk 36
- defaultConfig {
- applicationId "com.example.base"
- minSdk 24
- targetSdk 36
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- }
- dependencies {
- implementation libs.appcompat
- implementation libs.material
- implementation libs.activity
- implementation libs.constraintlayout
-
- // 网络请求库
- implementation 'com.squareup.okhttp3:okhttp:4.12.0'
-
- // CardView
- implementation 'androidx.cardview:cardview:1.0.0'
-
- testImplementation libs.junit
- androidTestImplementation libs.ext.junit
- androidTestImplementation libs.espresso.core
- }
|