代码拉取完成,页面将自动刷新
import me.jiatao.plugin.*
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
id 'kotlin-parcelize'
}
android {
compileSdk BuildConfig.compileSdkVersion
defaultConfig {
applicationId "me.jiatao.wan"
minSdk BuildConfig.minSdkVersion
targetSdk BuildConfig.targetSdkVersion
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
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
/** common libs */
implementation Kotlin.stdlibJdk8
implementation AndroidX.coreKtx
implementation AndroidX.appcompat
/** UI */
implementation AndroidX.material
implementation AndroidX.constraintLayout
implementation AndroidX.cardView
implementation AndroidX.swiperefreshlayout
implementation Coil.runtime
/** tools */
implementation Depend.timber
/** Hilt */
kapt Hilt.compiler
implementation Hilt.hilt
/** Paging3 */
implementation AndroidX.pagingRuntime
/** Fragment */
implementation Fragment.runtimeKtx
/** Room */
kapt Room.compiler
implementation Room.runtime
implementation Room.ktx
/** AppStartup */
implementation AndroidX.appStartup
/** Retrofit */
implementation Retrofit.runtime
implementation Retrofit.gson
implementation Retrofit.logging
/** test */
testImplementation Depend.junit
androidTestImplementation Depend.androidTestJunit
androidTestImplementation Depend.espressoCore
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。