AndroidProject/app/build.gradle

52 lines
1.7 KiB
Groovy
Raw Normal View History

2024-12-16 19:24:41 +08:00
plugins {
id 'com.android.application'
}
android {
namespace 'com.example.weather'
compileSdkVersion 33
defaultConfig {
applicationId "com.example.weather"
minSdkVersion 24
targetSdkVersion 33
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_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets{
main{
jniLibs.srcDirs = ['libs']
}
}
}
dependencies {
implementation 'com.facebook.stetho:stetho:1.6.0'
implementation 'com.github.zaaach:CityPicker:2.1.0'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
implementation 'com.squareup.okhttp3:okhttp:3.12.12'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
implementation files('libs/AMap3DMap_9.8.2_AMapSearch_9.7.0_AMapLocation_6.4.0_20230808.jar')
implementation files('libs\\QWeather_Public_Android_V4.17.jar')
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}