代码拉取完成,页面将自动刷新
plugins {
id 'com.android.library'
id 'kotlin-android'
}
android {
compileSdk 30
defaultConfig {
minSdk 21
targetSdk 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
ndk {
abiFilters("armeabi-v7a")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "String", "BASE_URL", '"https://scat.guangrufw.com"'
// buildConfigField "String", "BASE_URL", '"https://test-scat.guangrufw.com"'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "String", "BASE_URL", '"https://test-scat.guangrufw.com"'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
dataBinding = true
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
api 'com.squareup.retrofit2:retrofit:2.7.2'
api 'com.squareup.retrofit2:converter-gson:2.7.2'
api "com.squareup.okhttp3:logging-interceptor:4.2.1"
api 'com.blankj:utilcodex:1.30.7-alpha0@aar'
api "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
api "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
api "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。