You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BlackDex/app/build.gradle

101 lines
2.8 KiB

4 years ago
plugins {
id 'com.android.application'
4 years ago
id 'kotlin-android'
4 years ago
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "top.niunaijun.blackdex"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4 years ago
4 years ago
flavorDimensions "BlackDex32"
}
productFlavors {
BlackDex32 {
applicationId "top.niunaijun.blackdexa32"
ndk {
abiFilters "armeabi-v7a"
}
resValue "string", "app_name", "BlackDex32"
4 years ago
}
4 years ago
BlackDex64 {
applicationId "top.niunaijun.blackdexa64"
ndk {
abiFilters "arm64-v8a"
}
resValue "string", "app_name", "BlackDex64"
}
4 years ago
}
buildTypes {
debug {
debuggable true
jniDebuggable true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
4 years ago
release {
debuggable false
jniDebuggable false
4 years ago
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
4 years ago
buildFeatures{
viewBinding true
}
4 years ago
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
4 years ago
kotlinOptions {
jvmTarget = '1.8'
}
4 years ago
}
dependencies {
4 years ago
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.5.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
4 years ago
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation project(':Bcore')
4 years ago
//coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2"
//viewModel liveData lifecycle
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1"
//third
implementation 'com.afollestad.material-dialogs:core:3.3.0'
//dialog
implementation 'com.github.nukc.stateview:kotlin:2.2.0'
//状态控制控件
implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.9'
//加载dialog
implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0'
//searchView
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
4 years ago
}