2022-10-13 09:19:55 +08:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdk 32
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "cc.niushuai.project.devcontrol"
|
2022-10-19 14:31:38 +08:00
|
|
|
minSdk 24
|
2022-10-13 09:19:55 +08:00
|
|
|
targetSdk 32
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
2022-10-17 17:39:49 +08:00
|
|
|
multiDexEnabled true
|
|
|
|
|
2022-10-13 09:19:55 +08:00
|
|
|
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
|
|
|
|
}
|
2022-10-13 13:20:44 +08:00
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
|
|
|
}
|
2022-10-13 09:19:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.5.1'
|
|
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2022-10-13 14:15:05 +08:00
|
|
|
implementation 'androidx.lifecycle:lifecycle-livedata:2.5.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel:2.5.1'
|
2022-10-13 13:20:44 +08:00
|
|
|
implementation 'androidx.navigation:navigation-fragment:2.5.2'
|
|
|
|
implementation 'androidx.navigation:navigation-ui:2.5.2'
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2022-10-13 16:59:57 +08:00
|
|
|
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
2022-10-17 17:39:49 +08:00
|
|
|
|
|
|
|
// hutool
|
|
|
|
implementation 'cn.hutool:hutool-all:5.8.8'
|
2022-10-13 09:19:55 +08:00
|
|
|
}
|