Files
mendian/personnel/build.gradle
2025-12-26 15:36:42 +08:00

48 lines
1.4 KiB
Groovy

apply from: rootProject.file('cc-settings-2.gradle')
android {
namespace 'com.fanghoo.personnel'
compileSdk rootProject.compileVersion
compileSdkVersion rootProject.compileVersion
buildToolsVersion rootProject.buildVersion
defaultConfig {
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.test.runner.AndroidJUnitRunner"
//仅在以application方式编译时才添加applicationId属性
if (project.ext.runAsApp) {
applicationId 'com.fanghoo.personnel'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation project(path: ':base')
//RecyclerAdapter框架
api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
api 'androidx.recyclerview:recyclerview:1.0.0'
//cardView
api 'androidx.cardview:cardview:1.0.0'
implementation 'com.github.bumptech.glide:glide:4.5.0'
//引入ormlite
implementation 'com.j256.ormlite:ormlite-core:5.1'
implementation 'com.j256.ormlite:ormlite-android:5.1'
}