forked from hardcoresushi/DroidFS
62 lines
1.8 KiB
Groovy
62 lines
1.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "30.0.2"
|
|
ndkVersion '21.3.6528147'
|
|
|
|
compileOptions {
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "sushi.hardcore.droidfs"
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 5
|
|
versionName "1.1.10"
|
|
|
|
ndk {
|
|
abiFilters 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
}
|
|
}
|
|
|
|
applicationVariants.all { variant ->
|
|
variant.resValue "string", "versionName", variant.versionName
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path file('CMakeLists.txt')
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "androidx.core:core-ktx:1.3.2"
|
|
implementation "androidx.appcompat:appcompat:1.2.0"
|
|
implementation "androidx.constraintlayout:constraintlayout:2.0.3"
|
|
|
|
implementation "androidx.sqlite:sqlite-ktx:2.1.0"
|
|
implementation "androidx.preference:preference-ktx:1.1.1"
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
implementation "com.jaredrummler:cyanea:1.0.2"
|
|
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
implementation "com.google.android.exoplayer:exoplayer-core:2.11.7"
|
|
implementation "com.google.android.exoplayer:exoplayer-ui:2.11.7"
|
|
implementation "com.otaliastudios:cameraview:2.6.4"
|
|
implementation "androidx.biometric:biometric:1.0.1"
|
|
}
|