1 Star 0 Fork 1

漂流瓶/GradleBuild

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
app-build.gradle 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
漂流瓶 提交于 2021-08-24 15:05 . 补充
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
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cooljiatao/gradle-build.git
[email protected]:cooljiatao/gradle-build.git
cooljiatao
gradle-build
GradleBuild
master

搜索帮助