DroidFS/app/build.gradle

80 lines
2.3 KiB
Groovy
Raw Normal View History

2020-07-17 16:35:39 +02:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
2021-07-14 19:32:53 +02:00
compileSdkVersion 30
buildToolsVersion "30.0.3"
2021-03-18 18:31:18 +01:00
ndkVersion "21.4.7075529"
2020-07-17 16:35:39 +02:00
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
}
2020-07-17 16:35:39 +02:00
defaultConfig {
applicationId "sushi.hardcore.droidfs"
minSdkVersion 21
targetSdkVersion 29
2021-09-05 10:38:31 +02:00
versionCode 17
versionName "1.5.3"
2020-07-17 16:35:39 +02:00
ndk {
2021-06-14 14:43:18 +02:00
abiFilters "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
}
}
splits {
abi {
enable true
universalApk true
2020-07-17 16:35:39 +02:00
}
}
2020-10-15 18:31:49 +02:00
applicationVariants.all { variant ->
variant.resValue "string", "versionName", variant.versionName
}
2021-06-11 20:23:54 +02:00
buildFeatures {
viewBinding true
}
2020-07-17 16:35:39 +02:00
buildTypes {
release {
minifyEnabled true
shrinkResources true
2020-07-17 16:35:39 +02:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path file('CMakeLists.txt')
}
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
2021-01-21 12:46:30 +01:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
2021-07-14 19:32:53 +02:00
implementation "androidx.core:core-ktx:1.6.0"
implementation "androidx.appcompat:appcompat:1.3.1"
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
2020-08-05 14:06:54 +02:00
2020-10-22 22:14:22 +02:00
implementation "androidx.sqlite:sqlite-ktx:2.1.0"
implementation "androidx.preference:preference-ktx:1.1.1"
2020-08-05 14:06:54 +02:00
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation "com.jaredrummler:cyanea:1.0.2"
2021-06-07 13:23:11 +02:00
implementation "com.github.bumptech.glide:glide:4.12.0"
2021-02-07 14:43:51 +01:00
implementation "androidx.biometric:biometric:1.1.0"
2020-12-19 19:55:54 +01:00
def exoplayer_version = "2.15.0"
2021-03-17 21:11:14 +01:00
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-ui:$exoplayer_version"
def camerax_v1 = "1.1.0-alpha08"
implementation "androidx.camera:camera-camera2:$camerax_v1"
implementation "androidx.camera:camera-lifecycle:$camerax_v1"
def camerax_v2 = "1.0.0-alpha28"
implementation "androidx.camera:camera-view:$camerax_v2"
implementation "androidx.camera:camera-extensions:$camerax_v2"
2020-07-17 16:35:39 +02:00
}