2020-07-17 16:35:39 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
2020-12-31 16:24:04 +01:00
|
|
|
buildToolsVersion "30.0.3"
|
2020-10-23 16:42:40 +02:00
|
|
|
ndkVersion '21.3.6528147'
|
2020-07-17 16:35:39 +02:00
|
|
|
|
2020-07-26 21:16:06 +02:00
|
|
|
compileOptions {
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "sushi.hardcore.droidfs"
|
|
|
|
minSdkVersion 21
|
2020-07-26 21:16:06 +02:00
|
|
|
targetSdkVersion 29
|
2020-12-31 16:24:04 +01:00
|
|
|
versionCode 8
|
|
|
|
versionName "1.4.0"
|
2020-07-17 16:35:39 +02:00
|
|
|
|
|
|
|
ndk {
|
|
|
|
abiFilters 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-15 18:31:49 +02:00
|
|
|
applicationVariants.all { variant ->
|
|
|
|
variant.resValue "string", "versionName", variant.versionName
|
|
|
|
}
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-08-27 22:03:45 +02:00
|
|
|
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"
|
2020-10-15 18:31:49 +02:00
|
|
|
implementation "androidx.core:core-ktx:1.3.2"
|
2020-08-11 20:40:14 +02:00
|
|
|
implementation "androidx.appcompat:appcompat:1.2.0"
|
2020-12-19 19:55:54 +01:00
|
|
|
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
|
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"
|
|
|
|
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"
|
2020-10-22 22:14:22 +02:00
|
|
|
implementation "androidx.biometric:biometric:1.0.1"
|
2020-12-19 19:55:54 +01:00
|
|
|
|
|
|
|
def camerax_version = "1.0.0-rc01"
|
|
|
|
implementation "androidx.camera:camera-camera2:$camerax_version"
|
|
|
|
implementation "androidx.camera:camera-lifecycle:$camerax_version"
|
|
|
|
implementation "androidx.camera:camera-view:1.0.0-alpha20"
|
|
|
|
implementation "androidx.camera:camera-extensions:1.0.0-alpha20"
|
2020-07-17 16:35:39 +02:00
|
|
|
}
|